Pcloud webdav?

bristoljon
New here
Posts: 7
Joined: Wed Feb 22, 2017 5:36 pm

Re: Pcloud webdav?

Post by bristoljon » Tue Jan 22, 2019 3:43 am

+1 I've contacted QNAP and pCloud as well. I guess will have to compress to a single file and back that up instead for now

User avatar
leyeti
Getting the hang of things
Posts: 50
Joined: Tue Apr 10, 2012 5:46 am
Location: France (near Disneyland Paris)

Re: Pcloud webdav?

Post by leyeti » Tue Jan 22, 2019 4:37 pm

Having check if Synology users got same issue : Yes, they also had in 2017 trouble with pCloud WebDav. Don't know if it's now working.
TS-219P II V4.3.3.644

bristoljon
New here
Posts: 7
Joined: Wed Feb 22, 2017 5:36 pm

Re: Pcloud webdav?

Post by bristoljon » Tue Jul 30, 2019 7:23 pm

-nth- wrote:
Mon Sep 18, 2017 10:45 pm
I've opened a ticket with support on this so we'll see what they have to say.

In the mean time I've been able to figure out the problem is related to the QNAP creating folders on the webdav endpoint. If I create the full folder path manually (via Windows Explorer), the QNAP will successfully upload all the files!

When I look at the debug log for the failed uploads I consistently see this error:

Code: Select all

2017-09-18 08:52:25,726 PID:30323 webdavconnector.py:678 cc ERROR create remote folder fail: QNAP/CloudBackup/Test/Public/Test
Traceback (most recent call last):
  File "./package/src/shared/bin/connector/webdavconnector.py", line 672, in _test_and_create_folder
  File "./package/src/shared/python-lib/easywebdav/client.py", line 307, in mkdirs
OperationFailed: Failed to create directory "QNAP".
  URL           :  https://webdav.pcloud.com:443/QNAP
  Operation     :  MKCOL QNAP
  Expected code :  201 Created, 301 Moved Permanently, 403 Forbidden, 405 Method Not Allowed
  Actual code   :  200 OK
Just posting this to further detail the issue for others interested. If you do happen to have thoughts on how to get the QNAP to create folders via webdav, please post!
Just wondering if a possible solution would be to proxy the requests through a system that converts 200's to 201's on the fly? Kind of a man in the middle attack? I guess even if this was possible, changing all the 200's from pCloud to be 201's would cause other issues so might have to be cleverer than that..

Just an idea, it's ** annoying though

bristoljon
New here
Posts: 7
Joined: Wed Feb 22, 2017 5:36 pm

Re: Pcloud webdav?

Post by bristoljon » Tue Jul 30, 2019 7:25 pm

Also has anyone tried using this? https://www.qnapclub.eu/en/qpkg/634

User avatar
leyeti
Getting the hang of things
Posts: 50
Joined: Tue Apr 10, 2012 5:46 am
Location: France (near Disneyland Paris)

Re: Pcloud webdav?

Post by leyeti » Wed Jul 31, 2019 12:23 am

I don't.
Seems this Apps is chargeable ???
TS-219P II V4.3.3.644

bristoljon
New here
Posts: 7
Joined: Wed Feb 22, 2017 5:36 pm

Re: Pcloud webdav?

Post by bristoljon » Tue Aug 27, 2019 3:47 am

Ha, so this is weird. I tried installing and configuring WebDav from the app center. It failed for the same reason.

I then noticed you can mount remote drives from within the file station and configure web dav details so I added pCloud. It worked and I could see the remote folder. As a test I created a folder and it worked!

Now copying the folders I want to back up and all seems to be working so it seems File Station uses a different and more relaxed implementation of WebDav protocol than Hybrid Backup Sync. There is no way to automate a periodical backup from file station though but at least this works for setting up the initial folder structure. After this hybrid backup sync might work for backing up new files and I'll just have to use file station manually when new folders are added.

User avatar
leyeti
Getting the hang of things
Posts: 50
Joined: Tue Apr 10, 2012 5:46 am
Location: France (near Disneyland Paris)

Re: Pcloud webdav?

Post by leyeti » Tue Aug 27, 2019 8:47 pm

Thx for your feedback :)
TS-219P II V4.3.3.644

Post Reply

Return to “WebDAV-based Backup”