UNC path instead Mapping drive
UNC path like
\\PC_name\folder name\
instead Drive letter
Example:
\\Alex\admin$ (to reach C:\WINNT)
\\PC_name\folder name\
instead Drive letter
Example:
\\Alex\admin$ (to reach C:\WINNT)
Can I said that the error should be in remote site?
Other than mapped drive, is there any other possbilities? Thanks
"C:\Program Files\WinSCP\winscp.com" /console /script=Concur_SFTP_Download_Script.txt /log="C:\ConcurLog\Download\ConcurLog.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
......
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