Skip to main content

Determine-Whether-Remote-Folder-Exists

Command Description

Determine whether the specified folder exists in FTP server

Command Prototype

isRemoteDirectoryExists = FTP.RemoteFolderExists(objFTP,sRemotedir)

Parameter Description

ParameterRequiredTypeDefaultDescription
objFTPTrueexpressionobjFTPRefers to the FTP connection object returned by the "connect to FTP server" command
sRemotedirTruestring""Specified folder path in FTP remote directory

return

isRemoteDirectoryExists,The variable used to save the output of the command.

Demo