Keepuptodate error, could not retrieve directory listing, failed to change directory

Advertisement

Raysor
Joined:
Posts:
1

Keepuptodate error, could not retrieve directory listing, failed to change directory

Hey!

I'm new to WinSCP and tried to make a .txt file to use the keepuptodate command, here's the file:
option batch abort
option confirm off
open ftpes://administrateur:admin@192.168.1.152/ -hostkey="15-86-4d-1f-87-8d-84-36-f4-7a-d4-39-bf-50-66-54-3e-2c-53-ce-ce-be-a7-5e-eb-d4-95-a7-31-6b-db-eb"
synchronize remote "C:\Users\THUILLIEZ Dimitri\Desktop\Test" /Fichiers
keepuptodate "C:\Users\THUILLIEZ Dimitri\Desktop\Test" /Fichiers
exit
When I don't do anything, the script works, but as soon as I create a new folder with a file in it, I get the error "could not retrieve directory listing, failed to change directory"
I see a lot of people having the same issue as me but their solutions doesn't work in my situation. WinSCP itself is working correctly though.

Do you guys have any idea why this is happening?

Capture d’écran 2022-05-24 082827.png

Reply with quote

Advertisement

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

Re: Keepuptodate error, could not retrieve directory listing, failed to change directory

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log 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

Advertisement

You can post new topics in this forum