Ftpexists()

Checks to see if the remote file/directory exists

Usage

BOOLEAN = Ftpexists( ftpdata, file, passive, stoponerror )
Argument Summary
ftpdata the connection object as defined from FtpOpen()
file the remote file/directory 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:

Ftpexists(
   ftpdata=?, 
   file=?, 
   passive=?, 
   stoponerror=?
);

Supports passing parameters as a structure using ArgumentCollection:

Ftpexists( ArgumentCollection={
   ftpdata : ?, 
   file : ?, 
   passive : ?, 
   stoponerror : ?
} );