Ftpputfile()
Uploads the local file to the remote file there
Usage
BOOLEAN = Ftpputfile(
ftpdata,
remotefile,
localfile,
transfermode,
asciiextensionlist,
passive,
stoponerror
)
Argument | Summary |
---|---|
ftpdata | the connection object as defined from FtpOpen() |
remotefile | the remote file to download |
localfile | the local file to downlaod to |
transfermode | the transfer mode to use; AUTO, BINARY or ASCII. Defaults to AUTO [optional] |
asciiextensionlist | if transfer mode is AUTO then this is the extension list (;) of the files that are considered ascii [optional] |
passive | flag to determine if the transfer is in passive mode or not [optional] |
stoponerror | if something goes wrong, throw an exception. defaults to true [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
Ftpputfile( ftpdata=?, remotefile=?, localfile=?, transfermode=?, asciiextensionlist=?, passive=?, stoponerror=? );
Supports passing parameters as a structure using ArgumentCollection:
Ftpputfile( ArgumentCollection={ ftpdata : ?, remotefile : ?, localfile : ?, transfermode : ?, asciiextensionlist : ?, passive : ?, stoponerror : ? } );