New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pcloud: allow configuration of root folder ID #3957
Comments
This would make a nice issue for someone wanting to get into rclone development. There is a free tier for pcloud accounts. To implement this a new parameter Lines 213 to 224 in ec12718
This needs to be defined in the Options struct as rclone/backend/pcloud/pcloud.go Lines 97 to 99 in ec12718
Then all uses of rclone/backend/pcloud/pcloud.go Line 45 in ec12718
|
I'll start getting this done, I imagine this is similar to #3422 |
Added support for interchangable root folder for pCloud backend - rclone#3957
I've merged @Sunil-P 's fix for this to master now which means it will be in the latest beta in 15-30 mins and released in v1.52 Thank you @Sunil-P |
What is your current rclone version (output from
rclone version
)?v1.51.0
What problem are you are trying to solve?
To define a variable in rclone.config to indicate which folder should be accessed.
How do you think rclone should be changed to solve that?
Rclone already has access to the PCloud Root.
There is already a constant "rootID" in the code, however, I believe that currently it always accesses Pcloud folder 0 (zero).
PCloud works on its API with a number of folders.
If the user can enter the "rootID" the folder number would be very interesting to preserve the entire file structure in the cloud.
This way, even if the rclone.config file is exposed on a PC, the user would only have access to that folder.
This would be excellent already, and in the future we could even use a "rootFolder = / Tests" so that the user could put the name of the Home folder.
The text was updated successfully, but these errors were encountered: