Dart.Ftp Namespace > Ftp Class > Put Method : Put(String,String,Synchronize) Method |
Public Overloads Function Put( _ ByVal localPath As String, _ ByVal remotePath As String, _ ByVal sync As Synchronize _ ) As CopyResult
Dim instance As Ftp Dim localPath As String Dim remotePath As String Dim sync As Synchronize Dim value As CopyResult value = instance.Put(localPath, remotePath, sync)
public CopyResult Put( string localPath, string remotePath, Synchronize sync )
public: CopyResult^ Put( String^ localPath, String^ remotePath, Synchronize sync )
DataIsBusy returns true while this method executes.
Characters specified in the remote path are sent to the server unmodified. If the path contains characters that are invalid for the server host filesystem, it may cause the operation to fail with an FtpProtocolException.
private void putFile() { ftp1.Put(myLocalDirectory + "\\testfile.txt", "testfile.txt", Synchronize.Off); }
Private Sub putFile() ftp1.Put(myLocalDirectory & "\testfile.txt", "testfile.txt", Synchronize.Off) End Sub