Cannot open remote file

Advertisement

Mentallurg
Joined:
Posts:
1

Cannot open remote file

I am trying to copy a log file that is being written by a server to a local disk. Following message is displayed in GUI:
Cannot open remote file
No such file or directory.
Error code: 2
Error message from server (en): File not found

Filezilla copies this file easily, like any other file. But I need scripting and am considering WinSCP. Unfortunately WinWCP fails. Same error occurs when I'm using WinSCP in a powershell script. WinSCP downloads successfully files that are not open by another applications but fails to download if file is being written by another application.

This problem makes WinSCP useless to me.

It is very strange that WinSCP fails in such a basic scenario. This is one of common cases when log files need to be downloaded, and log files are usually permanently open by some application. Such major problem means that neither software developers nor system admins use WinSCP. Who then uses it?

Regards,
M.

Reply with quote

Advertisement

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

Re: Cannot open remote file

Please attach a full verbose session log file from both WinSCP and FileZilla (using the latest versions of both).

Reply with quote

Advertisement

You can post new topics in this forum