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

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
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?

martin
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.