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



url
The URL to copy
filePath
The destination file name
lastWriteDateTime
A timestamp that will be compared to the URL timestamp
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 if the URL timestamp is after lastWriteDateTime

Syntax

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

Parameters

url
The URL to copy
filePath
The destination file name
lastWriteDateTime
A timestamp that will be compared to the URL timestamp
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.