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: No such file or directory. Error code: 2 Error message from server: No such file

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
kevinmc

No such file or directory. Error code: 2 Error message from server: No such file

Hi, I've downloaded WinSCP today. I'm trying to run a scripting from the command line before I set it to a scheduled job. the command I'm using opens WinSCP and seems to connect but I then get the message "No such file or directory. Error code: 2 Error message from server: No such file".
The command I'm using is:
C:\Users\user\AppData\Local\Programs\WinSCP\WinSCP.exe
"sftp://user:password@ipaddress/var/www/ -hostkey =""ssh-ed25519xxxxxx3:12:27""" "put C:\test\tracker.sql /sql_upload/"

I know that C:\test\tracker.sql is definitely a valid path