get -delete *.* problem in version 5.9.4

Advertisement

Martin Zazvorka
Guest

get -delete *.* problem in version 5.9.4

I found that command:
get -delete *.*
do not delete files in version 5.9.4 (in version 5.7.7 it works fine)
get -delete test.txt is OK, but mask for all files does not work.
Thank you very much for you program.
Martin Zazvorka
(Czech Republic)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: get -delete *.* problem in version 5.9.4

Please attach a full session log file showing the command from both versions of WinSCP.

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Martin Zazvorka
Guest

Hello Martin,

I am sorry, it seems that it is some problem with our SFTP server, I tried script with another one and it works fine.
But I don't know reason, in log file everything looks fine.

Martin
  • BISIdownload-proWinscp.log (11.53 KB, Private file)
Description: v logu vypada vse v poradku, ale soubor po ukonceni na SFTP serveru zustava

Reply with quote

Martin Zazvorka
Guest

Next 2 log files.
  • 20170408-BISIdownloadonly1file.log (12.21 KB, Private file)
Description: when is used exact filename, file deleted
  • 20170408-BISIdownload-vcetneLS.log (13.08 KB, Private file)
Description: with LS to show that file is still there

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Indeed, everything looks correct in the log.
WinSCP requested the file deletion and the server acknowledged it. There's nothing wrong on WinSCP side.

It must be the server. Did you check its log file?

Also, you can try to upgrade the server (the latest version is 7.29, you are using 6.45).

Reply with quote

Advertisement

You can post new topics in this forum