TIpClientFtp() > File methods xHarbour Developers Network  

oTIpClientFtp:mput()

Uploads multiple files to the FTP server.

Syntax

:mput( <cFileSpec>, [<cAttr>] ) --> nFileCount

Arguments

<cFileSpec>
This is a character string holding the drive, directory and file specification to upload.
<cAttr>
Optionally, a character string holding file attributes can be specified. One or more characters of the table below can be included in <cAttr>.

Attributes for :mput()
AttributeMeaning
HInclude hidden files
SInclude system files

Description

Method :mput() uploads all files meeting the file specification <cFileSpec> to the FTP server and stores them in the current directory of the server. If a file exists on the FTP server having the same name as on the loacl station, the remote file is overwritten. The method returns a character string including the names of all uploaded files, separated with INetCrlf().


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe