IdeaBlade DevForce 2010 Help Reference
CopyFolder(String,String,Boolean,String,Int32) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > HttpFns Class > CopyFolder Method : CopyFolder(String,String,Boolean,String,Int32) Method



url
The URL to copy from
folderPath
The destination folder name
checkTimestamps
Whether to check the timestamps of the files to determine if they are already up to date and thus do not require copying
proxyName
The name of the proxy host.
proxyPort
The port on the proxy host to use.
Copy all of the files under a URL folder to a specified file system path with the option to avoid copying files that are already up to date.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub CopyFolder( _
   ByVal url As String, _
   ByVal folderPath As String, _
   ByVal checkTimestamps As Boolean, _
   ByVal proxyName As String, _
   ByVal proxyPort As Integer _
) 
Visual Basic (Usage)Copy Code
Dim url As String
Dim folderPath As String
Dim checkTimestamps As Boolean
Dim proxyName As String
Dim proxyPort As Integer
 
HttpFns.CopyFolder(url, folderPath, checkTimestamps, proxyName, proxyPort)
C# 
public static void CopyFolder( 
   string url,
   string folderPath,
   bool checkTimestamps,
   string proxyName,
   int proxyPort
)
C++/CLI 
public:
static void CopyFolder( 
   String^ url,
   String^ folderPath,
   bool checkTimestamps,
   String^ proxyName,
   int proxyPort
) 

Parameters

url
The URL to copy from
folderPath
The destination folder name
checkTimestamps
Whether to check the timestamps of the files to determine if they are already up to date and thus do not require copying
proxyName
The name of the proxy host.
proxyPort
The port on the proxy host to use.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.