Uploads the local directory and contents recursively to the FTP server.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public virtual void UploadDir(
	string localDir
)
Visual Basic
Public Overridable Sub UploadDir ( _
	localDir As String _
)
Visual C++
public:
virtual void UploadDir(
	String^ localDir
)

Parameters

localDir
Type: System..::..String
The local directory to upload.

Remarks

Uploads are saved relative to the current remote directory.

Exceptions

ExceptionCondition
Jscape.Ftp..::..FtpExceptionIf an I/O or FTP error occurs.

See Also