Post a reply

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

> 2021-11-04 12:17:23.025 EPRT |2|fe80:0000:0000:0000:48f4:bde2:c473:a484|53686|
< 2021-11-04 12:17:23.025 500 Bad EPRT protocol.

The above means that for WinSCP, it's IPv6 connection, so WinSCP has to use EPRT, instead of PORT. But the vsftpd server sees the connection as IPv4. That can happen if the network between you and the server changes between IPv4 and IPv6. The solution is not to use the active mode in the first place. Or are you able to use the active mode with any other FTP client?
rafall

Here's correct log for not working machine. I forgot to change ftp mode back to active
rafall

This is error
Error: Exception calling "Check" with "0" argument(s): "Error transferring file '\\igedevad\AUTOMATIC-TESTS\AT_Databases\

EDB\4.76\EDB_After_ZeroTest.bak'.
Copying files to remote side failed."
System.Management.Automation.MethodInvocationException: Exception calling "Check" with "0" argument(s): "Error transferri
ng file '\\igedevad\AUTOMATIC-TESTS\AT_Databases\EDB\4.76\EDB_After_ZeroTest.bak'.
Copying files to remote side failed." ---> WinSCP.SessionRemoteException: Error transferring file '\\igedevad\AUTOMATIC-T
ESTS\AT_Databases\EDB\4.76\EDB_After_ZeroTest.bak'.
Copying files to remote side failed.
   at WinSCP.OperationResultBase.Check()
   at CallSite.Target(Closure , CallSite , Object )
   --- End of inner exception stack trace ---
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exce
ption)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
martin

Re: Put files on FTP server don't work

You didn't post any actual error message.

Please attach a full session log files from both machines (using the latest version of WinSCP).
rafall

Put files on FTP server don't work

I have a problem with WinScp dll. I try to add files on ftp from 2 virtual machines. Both machines are in the same domain. On 1st machine, everything works correctly, but on second don't. I compare session logs and first thing i saw was that:
On machine where script work, in log I have information about PORT command
On second machine is EPSV and switching to passive mode.

Any solution for this?