Automate copy from windows to unix

Advertisement

deviprasad
Joined:
Posts:
4
Location:
banglore

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.
Last edited by deviprasad on 2015-03-27 09:05; edited 1 time in total

Reply with quote

Advertisement

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

Re: Automate copy from windows to unix

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

To generate log file, use /log=path_to_log_file command-line argument. 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 can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum