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

Re: "Error code: 2" in simple PUT

Thanks for sharing your solution.
ILL

Re: "Error code: 2" in simple PUT

Thanks for the reply again.

Already solved the incidence posted. It seemed to be something on the server and, as I think you were suspecting now, seemed to be some about versions, because we resolved with an update to the sftp server.

Greetings.

Sorry for my English.
ILL

Re: "Error code: 2" in simple PUT

Oh! The message "Error code 2 no such file" which is true but because I'm uploading, gave me a reason to prove one thing: if the file exists in the destination, it works the upload! However, this is just a patch, because it is normal that the file upload is not there, of course.
ILL

Re: "Error code: 2" in simple PUT

Attached. (private. There is no problem, is it?)
martin

Re: "Error code: 2" in simple PUT

Please attach a log file from Core FTP.
ILL

Re: "Error code: 2" in simple PUT

Thanks for the reply

I was not able to upload any file using WinSCP GUI (see attached), but I was able to upload any file using another GUI (like CoreFTP).
martin

Re: "Error code: 2" in simple PUT

A full error message is:
Cannot create remote file '/sincc.TXT'. ("No such file or directory.
Error code: 2
Error message from server: No such file."


The error comes from the server. It can have many reasons.

Were you able to upload any file using GUI?
ILL

"Error code: 2" in simple PUT

I am scripting this simple code
open test:password@194.224.XXX.YYY
put .\sincc.TXT
bye

But it doesn't work. WinSCP says
Error code: 2

sincc.TXT exists next to the WinSCP executable.

Why?
I will attach the log.

Thanks in advance. Sorry for my English.