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

kevinmc
Joined:
Posts:
1
Location:
Durham England

## 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

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

martin
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.