Topic "505 Unable to delete"

Author Message
vinayanshul
[View user's profile]

Joined: 2016-10-19
Posts: 1
Location: Singapore
Hello,
A simple task - Download all files from download folder and then delete them. But getting error msg : 550 Unable to delete. Please advice the solution.
using, WinSCP Version 5.8.1 beta (Build 6144) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Standard)at download side.

Running command, get -delete /Download/*.txt D:\Download\
Have managed to download almost 600 files but Unable to delete 12 files out of them. How to resolve this? If can't delete then it should not download from server.
Error msg:
550 Unable to delete /DOWNLOAD/11111.txt

. 2016-10-19 07:39:15.623 OWNER 169 19/10/16 07:37:18 *STMF 11111.txt

. 2016-10-19 07:41:19.121 File: '/DOWNLOAD/11111.txt' [2016-10-18T16:37:00.000Z] [169]
. 2016-10-19 07:41:19.121 Copying "/DOWNLOAD/11111.txt" to local directory started.
. 2016-10-19 07:41:19.121 Binary transfer mode selected.
. 2016-10-19 07:41:19.122 Starting download of /DOWNLOAD/11111.txt

How to solve this? Thanks in advance.

> 2016-10-19 07:41:19.122 TYPE I
< 2016-10-19 07:41:19.348 200 Representation type is binary IMAGE.
> 2016-10-19 07:41:19.348 PASV
< 2016-10-19 07:41:19.576 227 Entering Passive Mode (10,102,2,66,172,230).
> 2016-10-19 07:41:19.577 RETR 1176301610190002_20161019003718315179.txt
< 2016-10-19 07:41:20.801 150 Retrieving file /DOWNLOAD/11111.txt
. 2016-10-19 07:41:21.043 Session ID reused
. 2016-10-19 07:41:21.043 Using TLSv1, cipher TLSv1/SSLv3: AES128-SHA, 2048 bit RSA
. 2016-10-19 07:41:21.043 TLS connection established
< 2016-10-19 07:41:21.276 226 File transfer completed successfully.
. 2016-10-19 07:41:21.285 Download successful
. 2016-10-19 07:41:21.285 Transfer done: '/DOWNLOAD/11111.txt' [169]
. 2016-10-19 07:41:21.285 Deleting file "/DOWNLOAD/11111.txt".
> 2016-10-19 07:41:21.286 DELE /DOWNLOAD/11111.txt
< 2016-10-19 07:41:21.516 550 Unable to delete /DOWNLOAD/11111.txt
. 2016-10-19 07:41:21.517 Asking user:
. 2016-10-19 07:41:21.517 Error deleting file '/DOWNLOAD/11111.txt'. (" Unable to delete /DOWNLOAD/11111.txt")
< 2016-10-19 07:41:21.517 Script: Error deleting file '/DOWNLOAD/11111.txt'.
< 2016-10-19 07:41:21.517 Script: Unable to delete /DOWNLOAD/11111.txt
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Can you delete those files using any other FTP client?
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