procedure UploadFile(const Source, Destination: string; Overwrite: Boolean; FileOffset: Int64 = 0);
Call the UploadFile method to copy a file from the local machine to the remote one.
To create a resulting file on the server with the required attributes (for example, the attributes should correspond to the ones that the local file has) process the OnSetRemoteFileAttributes event.
|•||Source - holds the initial path to the file that is being copied.|
|•||Destination - holds the destination path to copy the file to.|
|•||Overwrite - specifies whether to overwrite the file with the same name if it exists.|
|•||FileOffset - the offset in bytes relative to the beginning of the file that the uploading started at.|