Reset Password
Check your e-mail for further instructions.
Reset
Name
uploadprogress
Auth
yes
Description
Get upload progress of a file.
MUST be sent to the same api server that you are currently uploading to. The parameter string progresshash MUST be passed and must contain the same value that was passed in the upload request that is currently in progress.
URL
https://api.pcloud.com/uploadprogress
Required
Parameter | Description |
progresshash | string hash defining the upload, same as sent to uploadfile |
Output
Upon success returns fields:
Parameter | Description |
total | total bytes to be transferred (that is the Content-Length of the upload request) |
uploaded | bytes uploaded so far |
currentfile | the filename of the file that is currently being uploaded |
files | metadata of the already uploaded files (without the current one) |
finished | indicates if the upload is finished or not |
Example
{ "currentfile": "Simple file", "currentfileuploaded": 4199743, "result": 0, "total": 7768889, "filenumber": 1, "uploaded": 4199936, "finished": false, "files": [ ] }
Code | Description |
1000 | Log in required. |
1900 | Upload not found |
2000 | Log in failed. |
4000 | Too many login tries from this IP address. |