Description
-
Determines if wodSFTP will resume file transfer.
Return type
- A Long value. If successful, 0 is returned, otherwise
error as specified here.
Syntax
-
long Sftp_GetResume(void *Sftp, int
*pVal); long Sftp_SetResume(void
*Sftp, int newVal);
The Resume Property syntax has these parts:
| void
*Sftp |
Handle of the created Sftp
instance. |
| int *pVal,
newVal |
Integer value that
when set to True, will cause wodSFTP to attempt to resume file
transfer. |
Remarks
-
The Resume property will force wodSFTP to resume a file
transfer, if possible. File transfer will not truncate the
destination file and transmission of data will continue
from the point where the connection was previously lost.
If you are uploading a file, wodSFTP will start from
the position that is equal to the length of the existing file
on the remote server.
If you are downloading a file, wodSFTP will start
from the position that is equal to the length of the existing local
file.
|