POST api/file/uploadsftp/{id}?connectionID={connectionID}&filename={filename}&creator={creator}&description={description}

Uploads a new file to a specific destination or if the id is an existing file it uploads as a new version

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

unique id of the file destination

integer

Required

connectionID

unique id from the connection manager that has the SFTP details

integer

Required

filename

unique filename to downlaod from SFTP server

string

Required

creator

The username of the user who will be marked as the uploader of this file.

string

Default value is

description

File description

string

Default value is

Body Parameters

None.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.