Ok, thanks anyway. Finally, I will use a synchronous alternative using synchronize command to keep up to date the directories structures at least each hour (nowadays, I don't need high avalability for those directories)
Well I do not know how ofter you need to delete directory structures. You can definitelly delete directories one by one.
Ok, I didn't expect that behaviour when I read about keepuptodate in the documentation.
What alternative do you suggest me to synchronize (asynchronously like keepuptodate) directory structures deletion or renaming? Is there any way to do it with WinSCP?
Thanks for your support,
Javier
You cannot delete directory structures, because WinSCP watches all subdirectories for changes. This keeps them locked.
Hi,
Using keepuptodate from commandline, I can't remove a folder which contains a subfolder. I execute the next command:
WinSCP.exe /console /command "option batch continue" "open test" "keepuptodate -delete"
In the local folder I have the next directory structure:
--- test
......|--- 1.txt
......|--- 2
...........|----2.txt
When I delete the local "test" folder, I get the next Windows error: "Cannor delete folder test: the directory is not empty". And at the remote side my ftp filezilla server only deletes 1.txt file. Why? Am I doing something wrong?
Can you reproduce it?
Any other operation works fine and is replied properly to the remote side.
I'm using WinSCP 4.1.8.
Thanks in advance,
Javier