pp108 : printDir

printDir


This Web service operation prints the current working directory of the FTP server.

SOAP Request

<printDir xmlns="http://schemas.cordys.com/1.0/ftp">
    <server>ftp.microsoft.com</server>
    <user>anonymous</user>
    <password>[email protected]</password>
    <portno>21</portno>
    <notification-subject>FTP</notification-subject>
</printDir>

Request Parameters

Tags

Description

server

Name of the FTP server to which the files are to be uploaded.

user

Name of the FTP user

password

Password for the FTP user

portno

The port number used by the FTP server. This tag is optional.

notification-subject

Notification subject on which the user has to subscribe to the Event service, to obtain the status of the request


SOAP Response

<printDirResponse xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <server xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">ftp.microsoft.com</server>
    <user xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">anonymous</user>
    <portno xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">21</portno>
    <notification-subject xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">FTP</notification-subject>
    <statuscode>257</statuscode>
    <status>"/" is current directory. </status>
</printDirResponse>