Copies the contents of a URL to a file if the URL timestamp is after
lastWriteDateTime
Syntax
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) |
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