Ftpexistsfile()
Checks to see if the remote file exists
Usage
BOOLEAN = Ftpexistsfile(
ftpdata,
file,
passive,
stoponerror
)
Argument | Summary |
---|---|
ftpdata | the connection object as defined from FtpOpen() |
file | the remote file to check |
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:
Ftpexistsfile( ftpdata=?, file=?, passive=?, stoponerror=? );
Supports passing parameters as a structure using ArgumentCollection:
Ftpexistsfile( ArgumentCollection={ ftpdata : ?, file : ?, passive : ?, stoponerror : ? } );