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

Advertisement

Guest

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

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%

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,316
Location:
Prague, Czechia

Re: Error Deleting File when using : get -delete *.*

Do get this error every time for all files?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum