delete |
This Web service operation is used to delete a file located on the FTP server.
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <delete xmlns="http://schemas.cordys.com/ftpconnector/1.1"> <configuration>ftpserver</configuration> <path>\readme.txt</path> </delete> </SOAP:Body> </SOAP:Envelope>
Request Parameters
Tags |
Description |
---|---|
configuration |
Name of the Configuration Profile that contains the FTP server details. |
path |
The absolute path of the file to be deleted. |
SOAP Response
<deleteResponse xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <configuration xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">ftpserver</configuration> <path xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">\readme.txt</path> <statuscode>250</statuscode> <status>DELE command successful.</status> </deleteResponse>