POST api/v2/ftp/dir

Create a directory on an FTP server. This method is used to create a directory with path specified by NewDir on the FTP 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
NameDescriptionTypeAdditional 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.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.