pCloud/pcloud-sdk-php

This link was generated for another IP address. Try previous step again.

whitsey opened this issue · 2 comments

What does that even mean?

I uploaded a file, got the link, emailed it to an email address, clicked the link:

This link was generated for another IP address. Try previous step again.

sich commented

You can't generate direct download links, they are lockd by IP.
Working with files is supposed to happen only by the owner of the file. When you want to share files or folders you have to use "Invite to folder", "Download link" or "Public folder". More information about the later you can find here: https://www.pcloud.com/help/general-help-center/what-is-the-public-folder

What is the purpose of getLink() in your SDK then?
If I can generate a link but not actually use it... What is its purpose?