Error using scripting when connecting to a WebDAV server

Advertisement

nicola.ewart@toolstop.co.uk
Joined:
Posts:
2

Error using scripting when connecting to a WebDAV server

Hello,

I'm trying to use scripting to put a file to a remote server using WebDAV. I think that it's something to do with root permissions, but I can't find a way round it. It is fine using the GUI. The script that I'm using to connect is :-
open davs://email.email%%40toolstop.co.uk:xxxxxxxxxxxxxxxxxxxx55dcbd47b849%%20@store-hdu45lh2w7.mybigcommerce.com/
This connects successfully. I then cannot change to the dav folder, :-
Error changing directory to '/dav/'.
Authentication failed.
Could not authenticate to server: rejected Digest challenge
or put any files from my local folder. :-
winscp> lcd \\sr0004tol\shared\Hourly_Dashboard
\\sr0004tol\shared\Hourly_Dashboard
winscp> put *
dashboard.txt             |          279 B |    0.6 KB/s | binary | 100%
Error transferring file 'dashboard.txt'.
404 Not Found
(A)bort, (R)etry, (S)kip, Ski(p) all:
If I try to connect to open davs://email.email%%40toolstop.co.uk:xxxxxxxxxxxxxxxxxxxx55dcbd47b849%%20@store-hdu45lh2w7.mybigcommerce.com/dav/
Authenticating...
Access denied.
Authentication failed.
Could not authenticate to server: rejected Digest challenge
Connection failed.
I've attached a log file, apologies as I've tried many times.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,984
Location:
Prague, Czechia

Re: Error using scripting when connecting to a WebDAV server

It would help, if you post the working GUI log too.
But I'd try to include the /dav to the URL in the open command:
open davs://...@store-hdu45lh2w7.mybigcommerce.com/dav/

Reply with quote

nicola.ewart@toolstop.co.uk
Joined:
Posts:
2

Connecting to the /dav/ folder directly gives me this error:
av/
Connecting to host...
Authenticating...
Access denied.
Authentication failed.
Could not authenticate to server: rejected Digest challenge
Connection failed.
winscp>
I've attached the log file from the

Reply with quote

Guest

Hello, I'm not getting a script. I've attached a video of what happens when I try.
  • Untitled_ Mar 11, 2024 2_19 PM.zip (5.63 MB, Private file)

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum