Topic "How to choose delete automatically for choice prompt?"

Author Message
[View user's profile]

Joined: 2015-06-27
Posts: 1
How do I answer delete in my script when I get the message "Error message from server: Permission denied
(D)elete, (A)bort, (R)etry, (S)kip, Ski(p) all: Abort". I don't see an option for batch that would choose delete?

Here is example session

C:\Users\blah\Desktop> /script=WINscp.txt
batch off
confirm on
Searching for host...
Connecting to host...
Using username "blah".
Authenticating with pre-entered password.
Starting the session...
Session started.
Active session: [1]

Using configured transfer settings different from factory defaults.
C:9999999999999999.ipg | 0 B | 0.0 KB/s | binary | 0%
Cannot overwrite remote file '/var/tftpboot/9999999999999999.ipg'.
Permission denied.
Error code: 3
Error message from server: Permission denied
(D)elete, (A)bort, (R)etry, (S)kip, Ski(p) all: Abort
Session '' closed.
No session.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26911
Location: Prague, Czechia
There's no such option.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License