Topic "Error Code 2"

Author Message
MattD

Guest


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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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
Anitha

Guest


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
sftplog_Log.txt (6.77 KB) [Download]

Description: Log file

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License