Determine-Whether-Remote-File-Exists
Command Description
Determine whether the specified file exists in FTP server
Command Prototype
isRemoteFileExists = FTP.RemoteFileExists(objFTP,sRemotefile)
Parameter Description
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| objFTP | True | expression | objFTP | Refers to the FTP connection object returned by the "connect to FTP server" command |
| sRemotefile | True | string | "" | Specified file path in FTP remote directory |
return
isRemoteFileExists,The variable used to save the output of the command.
Demo