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

Advertisement

jdover
Joined:
Posts:
1

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.

Reply with quote

Advertisement

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

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?

Reply with quote

Advertisement

You can post new topics in this forum