Uploads a local file to a remote FTP server.

Namespace: W3CValidationTasks.Core
Assembly: W3CValidationTasks.Core (in W3CValidationTasks.Core.dll) Version: 1.1.1.40

Collapse imageSyntax

C#
public void UploadFile(
	string localFile,
	string remoteUri,
	OverwriteCondition overwriteCondition
)
Visual Basic
Public Sub UploadFile ( _
	localFile As String, _
	remoteUri As String, _
	overwriteCondition As OverwriteCondition _
)
Visual C++
public:
void UploadFile(
	String^ localFile, 
	String^ remoteUri, 
	OverwriteCondition overwriteCondition
)

Parameters

localFile
Type: System..::..String
The local file to upload.
remoteUri
Type: System..::..String
The FTP URI of the destination.
overwriteCondition
Type: W3CValidationTasks.Core..::..OverwriteCondition
Defines the condition under which the remote file will be overwritten if it exists. Default value if DifferentSizeOrMoreRecentLocalFile.

Collapse imageSee Also