With the current HBS3 specifications, when uploading files to pCloud via WebDav, the modification date is automatically set to the upload time.
I contacted QNAP support, but they replied that this is by design.
They said it would take time to improve. With this, it’s unusable…
I want to build an application using QNAP’s Docker that uploads files to pCloud using the pCloud API while preserving the modification date!!
pCloud API document: https://docs.pcloud.com/
Someone HELP!!!
1 Like
@yujinendo
I took a quick look at the pcloud API, and while there is a “stat” method in the file methods, it doesn’t seem like there’s a method such as “setstat” that allows you to change file attributes.
As for WebDAV, it looks like it’s supported via PROPPATCH, so it seems possible, but there’s also a chance that pcloud itself doesn’t support it.
If you want to achieve this in a container, I think you could get it working for now by running a command-line WebDAV client like Cadaver in the container.
https://linux.die.net/man/1/cadaver
It seems like you can also set dates with propget / propset…