Topic "Automate copy from windows to unix"

Author Message
deviprasad
[View user's profile]

Joined: 2015-03-25
Posts: 4
Location: banglore
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
deviprasad
[View user's profile]

Joined: 2015-03-25
Posts: 4
Location: banglore
the final stuff for me to change the extension from xio to xml then my work will be done.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
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.
_________________
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