Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Hello, I'm not getting a script. I've attached a video of what happens when I try.
martin

Can you post log from the script?
nicola.ewart@toolstop.co.uk

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
martin

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/
nicola.ewart@toolstop.co.uk

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.