Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

prietor

Re: keepuptodate: cannot remove folder

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

Re: keepuptodate: cannot remove folder

Well I do not know how ofter you need to delete directory structures. You can definitelly delete directories one by one.
prietor

Re: keepuptodate: cannot remove folder

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
martin

Re: keepuptodate: cannot remove folder

You cannot delete directory structures, because WinSCP watches all subdirectories for changes. This keeps them locked.
prietor

keepuptodate: cannot remove folder

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