createDirectory |
This API is used to create a directory in the FTP Server.
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <createDirectory xmlns="http://schemas.cordys.com/ftpconnector/1.1"> <configuration>ftpserver</configuration> <directory>\Development</directory> </createDirectory> </SOAP:Body> </SOAP:Envelope>
Request Parameters
Parameter |
Description |
---|---|
configuration |
Name of the Configuration Profile that contains the FTP server details. |
directory |
Contains the paths of the directories from where the files are to be listed. |
SOAP Response
<createDirectoryResponse 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> <directory xmlns="http://schemas.cordys.com/ftpconnector/1.1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">\Development</directory> <statuscode>257</statuscode> <status>"Development" directory created.</status> </createDirectoryResponse>