Topic "Error Deleting File when using : get -delete *.*"

Author Message
Guest




Hello,

I'm using Winscp V4.3
I have a little problem by using the "get" command within a scripting file. If I use get in this way :

option batch abort
option confirm off
open sftp://pageonline:in75For35SeRxx@pageonline@93.92.105.16
cd /OUT
lcd e:\anaelv8\EXTRANET\RECEPTION\
get -delete *.* e:\anaelv8\EXTRANET\RECEPTION\
close
exit

I get an error like :

batch abort
confirm off
Searching for host...
Connecting to host...
Authenticating...
Using username "pageonline".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] pageonline@93.92.105.16
/OUT
e:\anaelv8\EXTRANET\RECEPTION
0728317615AMBROZO.pdf | 34 KiB | 113,1 KiB/s | binary | 100%
Error deleting file '/OUT/0728317615AMBROZO.pdf'.
No such file or directory.
Error code: 2
Error message from server (en): Failure
Request code: 13
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
0728317615AMBROZO.pdf | 34 KiB | 55,0 KiB/s | binary | 100%
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Do get this error every time for all files?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License