POST api/v2/sftp/dir
Create a directory on an SFTP server. This method is used to create a directory with path specified by NewDir on the SFTP server. NewDir is either an absolute path on the server, or a path relative to RemotePath.
Request Information
URI Parameters
None.
Body Parameters
Make Directory Request
SuiteBridge.Models.Ftp.FtpMakeDirRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| NewDir |
NewDir is either an absolute path on the server, or a path relative to RemotePath. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"NewDir": "sample string 1"
}
application/xml, text/xml
Sample:
<FtpMakeDirRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <NewDir>sample string 1</NewDir> </FtpMakeDirRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
status 200 OK on successful Directory creation.
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.