Uploads the local directory and contents recursively to
the FTP server.
Namespace: Jscape.FtpAssembly: 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
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If an I/O or FTP error occurs. |