Error Code 2

Advertisement

MattD
Guest

Error Code 2

When one of our users, running Windows XP runs WinSCP and tries to copy files from Location A to Location B, she gets an error code 2: Can't Create File. The system cannot find the specific file. She can see and select the files from the source, but when she copies them to the destination she gets this error. What could it be.

SCP Version 4.3.8

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Error Code 2

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

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. 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 may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl

Reply with quote

Anitha
Guest

The system cannot find the file specified

Hi,
I have a Excel file with data where i need to transfer that excel file to remote directory using SFTP . Im getting code 2 error : The system cannot find the file specified . Im having that file in that directory ,for testing purpose i have placed a small .xlsx file(10KB) into remote directory it placed that file successfully . When i tried to put a file with data of almost 3,903KB its showing above error .Please guide me.Thanks in Advance.

Script file :

option batch on
option confirm off
open username:password@1.2.3.4 -timeout=1000 -hostkey="ssh-rsa 1023 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
option transfer binary
put C:\temp\File_IntialUpload .xlsx
close
exit
Description: Log file

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: The system cannot find the file specified

Anitha wrote:

I have a Excel file with data where i need to transfer that excel file to remote directory using SFTP . Im getting code 2 error : The system cannot find the file specified . Im having that file in that directory ,for testing purpose i have placed a small .xlsx file(10KB) into remote directory it placed that file successfully . When i tried to put a file with data of almost 3,903KB its showing above error .Please guide me.Thanks in Advance.
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum