Discuss this help topic in SecureBlackbox Forum


TElSftpClient     See also     

Filter: C#  VB.NET  Pascal  C++  PHP  Java  

Copies a remote file into the selected destination.


    bool CopyRemoteFile(string Source, string Destination, bool Overwrite);

    Function CopyRemoteFile(ByVal Source As String, ByVal Destination As String, ByVal Overwrite As Boolean) As Boolean

    function CopyRemoteFile(Source, Destination : string; Overwrite : boolean): boolean;
    procedure CopyRemoteFileSync(Source, Destination : string; Overwrite : boolean);

    bool CopyRemoteFile(const std::string &Source, const std::string &Destination, bool Overwrite);

    bool CopyRemoteFile(string $Source, string $Destination, bool $Overwrite)

    boolean copyRemoteFile(String Source, String Destination, boolean Overwrite);


  • Source - file to be copied
  • Destination - where the file should be copied
  • Overwrite - specifies whether to overwrite file with the same name if it exists

Return value

    True if operation was completed successfully;
    False otherwise.


    Use this method to copy a remote file from one location into another.

See also:     CopyRemoteData    

Discuss this help topic in SecureBlackbox Forum