Reset Password
Check your e-mail for further instructions.
Reset
Name
copytolink
Auth
yes
Description
Copy a file from the current user's filesystem to a upload link.
URL
https://api.pcloud.com/copytolink
Required
Parameter | Description |
code | string code of the upload link |
fileid | int id of the copied file |
path | string path the copied file |
Optional
toname "string" the name to save the copied file. If it is not provided, then the name of the file is used.
Code | Description |
1000 | Log in required. |
1004 | No fileid or path provided. |
2000 | Log in failed. |
2001 | Invalid file/folder name. |
2002 | A component of parent directory does not exist. |
2003 | Access denied. You do not have permissions to preform this operation. |
2009 | File not found. |
2010 | Invalid path. |
4000 | Too many login tries from this IP address. |
5000 | Internal error. Try again later. |
7002 | This link is deleted by the owner. |
7004 | This link has expired. |
7007 | This link has reached its space limit. |
7008 | This link has reached its file limit. |