Reset Password
Check your e-mail for further instructions.
Reset
Name
getpubziplink
Auth
no
Description
Create a link to a zip archive file of a public link file
Same as getziplink, but works on public file identified by code
getpubziplink is slower and less efficient than getpubzip and takes time to generate the zip file as opposed to the former which starts the download right away.
URL
https://api.pcloud.com/getpubziplink
Required
Parameter | Description |
code | string either 'code' or 'shortcode' |
Optional
Parameter | Description |
forcedownload | int If it is set, the content-type will be 'application/octet-stream', if not - 'application/zip'. |
filename | string If it is provided, this is sent back as 'Content-Disposition' header, forcing the browser to adopt this filename when downloading the file. Filename is passed unaltered, so it MUST include the .zip extension. |
timeoffset | string desired time offset |
Code | Description |
1000 | Log in required. |
1017 | Invalid 'folderid' provided. |
1018 | Invalid 'fileid' provided. |
1028 | Please provide link 'code'. |
2000 | Log in failed. |
2011 | Requested speed limit too low, see minspeed for minimum. |
4000 | Too many login tries from this IP address. |
5001 | Internal upload error. |
5002 | Internal error, no servers available. Try again later. |
7001 | Invalid link 'code'. |
7002 | This link is deleted by the owner. |
7004 | This link has expired. |
7005 | This link has reached its traffic limit. |
7006 | This link has reached maximum downloads. |