Automate copy from windows to unix
hi All,
I tried coping xml files from windows to unix and i tried the below codes
getting few errors. could any one please help me out to resolve this
C:\Program Files (x86)\WinSCP>winscp.com odeeqa:xxxx@xxxxx.com
/command "option batch abort" "option confirm off" "option transfer binary" "put
C:\Users\derath\Desktop\Exatrs\job /scratch/home/odeeqa/oracle/odee_1/documaker
/hotdirectory"
Searching for host...
Connecting to host...
Authenticating...
Using username "XXXXX".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] XXXX@XXXXXX.com
batch abort
confirm off
transfer binary
C:\...\Desktop\Exatrs\job | 0 KiB | 0.0 KiB/s | binary | 0%
C:Single Job -EMAIL.xml | 15 KiB | 3.8 KiB/s | binary | 100%
Upload of file 'Single Job -EMAIL.xml' was successful, but error occurred while
setting the permissions and/or timestamp. If the problem persists, turn on 'Igno
re permission errors' option.
No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 9
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
C:\Program Files (x86)\WinSCP>
When i see the target location the file is being copied but it is in Single Job -EMAIL.xio format and not in xml.
Please help me out on this . let me know if you need any more information on this.
I tried coping xml files from windows to unix and i tried the below codes
getting few errors. could any one please help me out to resolve this
C:\Program Files (x86)\WinSCP>winscp.com odeeqa:xxxx@xxxxx.com
/command "option batch abort" "option confirm off" "option transfer binary" "put
C:\Users\derath\Desktop\Exatrs\job /scratch/home/odeeqa/oracle/odee_1/documaker
/hotdirectory"
Searching for host...
Connecting to host...
Authenticating...
Using username "XXXXX".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] XXXX@XXXXXX.com
batch abort
confirm off
transfer binary
C:\...\Desktop\Exatrs\job | 0 KiB | 0.0 KiB/s | binary | 0%
C:Single Job -EMAIL.xml | 15 KiB | 3.8 KiB/s | binary | 100%
Upload of file 'Single Job -EMAIL.xml' was successful, but error occurred while
setting the permissions and/or timestamp. If the problem persists, turn on 'Igno
re permission errors' option.
No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 9
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
C:\Program Files (x86)\WinSCP>
When i see the target location the file is being copied but it is in Single Job -EMAIL.xio format and not in xml.
Please help me out on this . let me know if you need any more information on this.
Last edited by deviprasad on 2015-03-27 09:05; edited 1 time in total