Editing a transfer
Updates basic properties of a transfer.
The transfer ID - unique transfer identifier. It is returned after initializing a transfer, also it is available in transfer list responses (sent and received).
The number of days until the transfer expires. Expiration is counted since the date of transfer creation. Use -1 to change make this transfer permanent (one that never expires).
The new expiration date as unix time, in milliseconds. It can be at most the allowed number of days after upload completion, unless it keeps or shortens the current expiration date. Use -1 to make this transfer permanent (one that never expires). Cannot be combined with days.
Decides whether transfer sender receives email notifications when the transfer is downloaded.
Updates the transfer subject.
Updates the transfer message / description.
Sets transfer password. Specify empty string in this field to remove existing password.
OK
Numeric representation of the responsestatus field.
Bad Request
Unauthorized
PUT /transfer/{transferid} HTTP/1.1
Host: api-public.filemail.com
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 91
{
"days": 1,
"expiredate": 1,
"notify": true,
"subject": "text",
"message": "text",
"password": "text"
}{
"responsestatus": "OK",
"errorid": "text",
"errormessage": "text",
"data": {
"recipients": [
{
"email": "text",
"downloadlink": "text",
"delivered": true,
"deliveryerror": "text"
}
],
"failedRecipients": 1,
"from": "text",
"subject": "text",
"message": "text",
"expiredate": 1,
"extendedexpiredate": 1,
"sentdate": 1,
"completeddate": 1,
"notify": true,
"status": "text",
"id": "text",
"trackid": "text",
"url": "text",
"size": 1,
"customlogourl": "text",
"compressedfileurl": "text",
"compressedfilestatus": "text",
"compressedfileformat": "text",
"torrentstatus": "text",
"torrenturl": "text",
"days": 1,
"isexpired": true,
"source": "text",
"key": "text",
"fileserver": "text",
"fileserverurl": "text",
"fileserverurl_main": "text",
"footertext": "text",
"containsmorefiles": 1,
"customfields": [
{
"customfieldid": "text",
"defaultvalue": "text",
"description": "text",
"label": "text",
"customLabel": "text",
"listitems": "text",
"required": true,
"visible": true,
"type": "text",
"rendertype": 1,
"sortorder": 1,
"length": 1,
"startValue": 1,
"placeholder": "text",
"removable": true,
"editableType": true,
"editableRequired": true,
"value": "text",
"barcodeimage": "text"
}
],
"files": [
{
"filename": "text",
"filesize": 1,
"downloadurl": "text",
"fileid": "text",
"thumbid": "text",
"previewurl": "text",
"hascustompreview": true,
"videopreview": {
"ANY_ADDITIONAL_PROPERTY": {
"size": 1,
"resolution": 1,
"downloadUrl": "text"
}
},
"downloads": [
{
"downloaddate": 1,
"ip": "text",
"email": "text",
"location": "text",
"locationurl": "text",
"locationflag": "text",
"kBps": 1,
"filename": "text",
"filesize": 1,
"downloadtype": "SingleFile"
}
],
"filetype": "text",
"filetypedescription": "text",
"category": "text",
"smallpreview": "text",
"hascustomthumbnail": true,
"transferid": "text",
"md5": "text",
"suspecteddamage": true
}
],
"filesdb": true,
"hasfilesonotherfileserver": true,
"fileExplorer": {
"filesToken": "text",
"parentItemId": "text",
"offset": 1,
"limit": 1,
"total": 1,
"itemsLeft": 1,
"hasMore": true,
"items": [
{
"uploadItemId": "text",
"type": "text",
"name": "text",
"status": "text",
"filesize": 1,
"downloadurl": "text",
"smallpreview": "text",
"md5": "text",
"numberofdownloads": 1
}
]
},
"numberoffiles": 1,
"numberofdownloads": 1,
"downloads": [
{
"downloaddate": 1,
"ip": "text",
"email": "text",
"location": "text",
"locationurl": "text",
"locationflag": "text",
"kBps": 1,
"filename": "text",
"filesize": 1,
"downloadtype": "SingleFile"
}
],
"antivirusscanstatus": "text",
"passwordprotected": true,
"iconcolor": "text",
"iconletter": "text",
"ftphost": "text",
"region": "text",
"protocol": "text",
"e2ee": true,
"kind": "text",
"ftpcorppasswordrequired": true,
"udpthreshold": 1,
"permanent": true,
"maxdays": 1,
"allowediting": true,
"allowforwarding": true,
"alloweditingexpiredate": true,
"blockdownloads": true,
"infected": true,
"infected_deleted": [
"text"
]
},
"errorcode": 1
}Last updated
Was this helpful?
