TIpClientFtp() > File methods |
|
|
oTIpClientFtp:uploadFile()
Downloads a file.
Syntax
:uploadFile( <cLocalFile>, [<cRemoteFile>] ) --> lSuccess
Arguments
- <cLocalFile>
- This is a character string holding the name of the file on the local station to transfer
to the FTP server. It must include path and file extension. If the path is omitted from
<cLocalName>, the file is searched in the current directory.
- <cRemoteFile>
- This is an optional character string holding the name of the file to create on the FTP server. It must
be specified without path information. If omitted, the file name from <cLocalFile> is used.
Description
Method :uploadFile() transfers a file from the local station to the FTP server
and returns a logical value indicating success of the operation. The file is stored in the current
directory of the FTP server. Use method :mput()
to upload multiple files with one method call.
Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe