Puts a file on a ftp server Then it can verify the size of the file on the remote server is the same as locally.

Namespace:  HS.Sys.TheEnterprise.Common.Laserbear
Assembly:  Laserbear (in Laserbear.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public bool PutFileAs(
	string localFile,
	string remoteFile,
	bool verifySize
)
Visual Basic (Declaration)
Public Function PutFileAs ( _
	localFile As String, _
	remoteFile As String, _
	verifySize As Boolean _
) As Boolean
Visual C++
public:
bool PutFileAs(
	String^ localFile, 
	String^ remoteFile, 
	bool verifySize
)

Parameters

localFile
Type: System..::.String
File to upload
remoteFile
Type: System..::.String
Name of file to save
verifySize
Type: System..::.Boolean
Verfiy the size of the file

Return Value

True if the transfer is a success

See Also