IdeaBlade DevForce 2010 Help Reference
CopyFile Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > HttpFns Class : CopyFile Method



url
The URL to copy
filePath
The destination file name
proxyName
The name of the proxy host.
proxyPort
The port on the proxy host to use.
Copies the contents of a URL to a file.

Syntax

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

Parameters

url
The URL to copy
filePath
The destination file name
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.