Skip to main content

Delete-File

Command Description

Delete the specified file in the FTP server

Command Prototype

FTP.DeleteFile(objFTP,sRemotefile)

Parameter Description

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

Demo