PUT api/ftp
Upload a file specified by the request to an FTP server.
Request Information
URI Parameters
None.
Body Parameters
upload file request
SuiteBridge.Models.Ftp.FtpUploadFileRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| RemoteFile |
RemoteFile is either an absolute path on the server, or a path relative to RemotePath. |
SuiteBridge.Models.Ftp.FtpRemoteFile |
None. |
Request Formats
application/json, text/json
Sample:
{
"RemoteFile": {
"FileName": "sample string 1",
"FileContent": "sample string 2"
}
}
application/xml, text/xml
Sample:
<FtpUploadFileRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RemoteFile>
<FileName>sample string 1</FileName>
<FileContent>sample string 2</FileContent>
</RemoteFile>
</FtpUploadFileRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
status 200 OK on successful update
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.