Gentee Programming Language > Documentation > Libraries | Download documentation |
This method is used to upload the required file from the remote host to the FTP server.
uint ftp.putfile( str srcname, str destname, uint flag )
srcname The name of the required source file. destname The name of a file stored on the FTP server. flag Flags. If the flag of the binary or text mode is not specified, the method makes effort to determine a file type. $FTP_BINARY A binary file is uploaded $FTP_TEXT A text file is uploaded. $FTP_CONTINUE to proceed with file uploading.
Nonzero if initialization was successful; otherwise 0.
See also![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |