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

martin

Re: winscp synchronize command fails on removal of remote files because IIS has file locked.

Sorry, this is quite broad and unclear question.
So it's Windows server, right?
In general, if the file is locked you cannot delete it. Definitely not via protocols like FTP or SFTP (you didn't specify which one are you using).
What DLLs are those?
jdover

winscp synchronize command fails on removal of remote files because IIS has file locked.

I have been successful with winscp and the synchronize command to remote server. Unfortunately once IIS has started it holds onto dll's and will not let winscp delete them. How can I efficiently remove files in remote directory before putting new files in remote directory?

I have tried other options such as the 'call' command to execute a bat or exe file on remote server, but that too has been unsuccessful.

Any help would be greatly appreciated.