Navigation: thinBasic Modules > FTP (File Transfer Profotol) > FTP_PutFile |
|
Description
Set the current remote working directory.
Syntax
n = FTP_PutFile(FileName, SyncMode)
Returns
Parameters
Name |
Type |
Optional |
Meaning |
FileName |
String |
No |
File name to send. Indicate only the file name and not the full path. File will be taken from current local working directory. See FTP_SetLocalDir and FTP_GetLocalDir functions |
SyncMode |
Number |
No |
%TRUE or %FALSE If %TRUE file will be sent in sync mode. Control will be not returned until file will be sent or an error occurs. If %FALSE file sending will start but control will return immediately. This mode allows to monitor file sending using (for example) the following functions: FTP_GetNumber(%FTP_GET_FILE_BYTES_SENT)
|
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |