(EOSError) System Error. Code: 3.

Advertisement

Guang
Guest

(EOSError) System Error. Code: 3.

Hi I have installed WINSCP in WIN 2003 Server 32Bit.

I have schedule my script and it works well, but after running for a few days, it failed. Once it fail, I run my script manually and it works again. I am puzzle and would like to seek advises. Below are my script and log. Fyi, the local path and permission is correct.

.bat file
"C:\Program Files\WinSCP\winscp.com" /console /script=Concur_SFTP_Download_Script.txt /log="C:\ConcurLog\Download\ConcurLog.txt"

Concur_SFTP_Download_Script.txt
option batch on
option confirm off
 
open <Username>:<Password>@<RemoteSite>
 
cd out
ls
 
get *HKG*.pgp H:\Concur_Download\ConcurEncrypted\HKG\
get *SIN*.pgp H:\Concur_Download\ConcurEncrypted\SIN\
 
bye

Log:
......

Script: /out
Script: ls
Listing directory "/out".
Type: SSH_FXP_OPENDIR, Size: 13, Number: 267
Type: SSH_FXP_HANDLE, Size: 10, Number: 267
Type: SSH_FXP_READDIR, Size: 10, Number: 524
Type: SSH_FXP_NAME, Size: 921, Number: 524
Type: SSH_FXP_READDIR, Size: 10, Number: 780
Type: SSH_FXP_STATUS, Size: 17, Number: 780
Status code: 1
Type: SSH_FXP_CLOSE, Size: 10, Number: 1028
Script: -rw-rw-rw-   1 12908    501           3888 Mar 13 20:32:00 2012 RAE_Expense_HKG_133164192124328.xlsx.pgp
Script: -rw-rw-rw-   1 12908    501           3913 Mar 13 20:35:00 2012 RAE_Expense_SIN_133164213224681.xlsx.pgp
Script: -rw-rw-rw-   1 12908    501           3939 Mar 13 21:30:00 2012 RAE_Invoice_HKG_133164540426554.xlsx.pgp
Script: -rw-rw-rw-   1 12908    501           3922 Mar 13 20:33:00 2012 RAE_Invoice_SIN_133164199824431.xlsx.pgp
Script: drwxrwx---   1 4101     501          12288 Mar 13 19:52:00 2012 archive
Script: drwxrwx---   1 4101     501           4096 Dec  1  0:25:00 2012 test
Script: get *HKG*.pgp H:\Concur_Download\ConcurEncrypted\HKG\
Listing directory "/out".
Type: SSH_FXP_OPENDIR, Size: 13, Number: 1291
Type: SSH_FXP_STATUS, Size: 40, Number: 1028
Discarding reserved response
Type: SSH_FXP_HANDLE, Size: 10, Number: 1291
Type: SSH_FXP_READDIR, Size: 10, Number: 1548
Type: SSH_FXP_NAME, Size: 921, Number: 1548
Type: SSH_FXP_READDIR, Size: 10, Number: 1804
Type: SSH_FXP_STATUS, Size: 17, Number: 1804
Status code: 1
Type: SSH_FXP_CLOSE, Size: 10, Number: 2052
File: "/out/RAE_Expense_HKG_133164192124328.xlsx.pgp"
Copying "/out/RAE_Expense_HKG_133164192124328.xlsx.pgp" to local directory started.
Binary transfer mode selected.
(EOSError) System Error.  Code: 3.

The system cannot find the path specified
Asking user:
Can't create file 'H:\Concur_Download\ConcurEncrypted\HKG\RAE_Expense_HKG_133164192124328.xlsx.pgp'. ("System Error.  Code: 3.

The system cannot find the path specified")
(EScpSkipFile) Can't create file 'H:\Concur_Download\ConcurEncrypted\HKG\RAE_Expense_HKG_133164192124328.xlsx.pgp'.
System Error.  Code: 3.
The system cannot find the path specified

Reply with quote

Advertisement

Guest

Re: (EOSError) System Error. Code: 3.

Hi, it is a mapped drive. But i check, and there's no error.

Normally in the log after "Binary transfer mode selected", it should be "Opening remote file"
Can I said that the error should be in remote site?

Other than mapped drive, is there any other possbilities? Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: (EOSError) System Error. Code: 3.

Anonymous wrote:

Can I said that the error should be in remote site?
I do not think so.

Other than mapped drive, is there any other possbilities? Thanks
No idea, sorry.

Reply with quote

mon
Guest

UNC path instead Mapping drive

UNC path like
\\PC_name\folder name\
instead Drive letter
Example:
\\Alex\admin$ (to reach C:\WINNT)

Reply with quote

Advertisement

You can post new topics in this forum