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

martin

Re: 505 Unable to delete

Can you delete those files using any other FTP client?
vinayanshul

505 Unable to delete

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