Automatic transfer down...

Advertisement

GLDF
Joined:
Posts:
2

Automatic transfer down...

Hi!
I use WinSCP for automatic datas transfer since few years and everything was fine.
I mostly use this:
get *.* d:\doc\mvt\ -neweronly -delete
or
get -neweronly -delete *.* d:\doc\mvt\
On the version 6.5.1, those instructions don't work anymore and I don't really understand why. Nothing changed between the past few years and today. I use ftp://login:password@ip on FileZilla 0.9.54 beta to connect to the distant server where is defined my "Home directory".

I checked both FileZilla and WinSCP logs. In one hand, no error on FileZilla... In the other hand, WinSCP tell me:
. 2025-06-11 14:17:26.569 Copying finished: Transferred: 0, Elapsed: 0:00:00, CPS: 0/s
. 2025-06-11 14:17:26.569 Script: Failed
. 2025-06-11 14:17:26.569 Script: Exit code: 1
This is an S.O.S...
Thanks by advance!!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
42,146
Location:
Prague, Czechia

. 2025-06-16 19:26:43.488 Deleting file "/9999/929_12_93676.pdf".
> 2025-06-16 19:26:43.488 DELE /9999/929_12_93676.pdf
< 2025-06-16 19:26:43.488 550 Permission denied
It looks like you do not have permissions to delete the file.
Are you sure you are able to delete the file in older version of WinSCP? Or in FileZilla (if you have meant the client, it's not clear from the original post). Post logs if you are.

Reply with quote

Guest

Yeah, I'm sure.
Maybe the problem is because those files are 0k, like they are in the tree but contain nothing and are impossible do delete ?

Reply with quote

Advertisement

Guest

If a file is empty makes no difference. That isn't a thing for perm denied.

Normally its either going to be these files are not owned by the logged in user so cannot be deleted, or the server software has a bug and incorrectly returning permission denied when that's not actually what's happening.

Reply with quote

Guest

I can't tell based on this
. 2025-06-11 14:17:26.569 Copying finished: Transferred: 0, Elapsed: 0:00:00, CPS: 0/s
or this
. 2025-06-16 19:26:43.488 Deleting file "/9999/929_12_93676.pdf".
> 2025-06-16 19:26:43.488 DELE /9999/929_12_93676.pdf
< 2025-06-16 19:26:43.488 550 Permission denied
If a file even transferred. That first one shows Transferred 0. If nothing actually transferred then either the file has no read perm and cannot be deleted anyway, or doesn't exist (bad cache) and therefore cannot be deleted.

Just to highlight that some rare other possibilities exist.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
42,146
Location:
Prague, Czechia

Yeah, I'm sure.
Maybe the problem is because those files are 0k, like they are in the tree but contain nothing and are impossible do delete?
Sorry, I do not follow. First you claim that you are sure that you can delete the file. And then you speculate why you might not be able to delete it.

As I have asked above already – if you can delete the file anyhow (WinSCP GUI, FileZilla, ...) please post log file showing that.

Reply with quote

Advertisement

You can post new topics in this forum