?
Solved

Copying a text file from Solaris to XP

Posted on 2006-11-21
4
Medium Priority
?
292 Views
Last Modified: 2013-12-27
I am trying to copy a text file containing Oralce insert statements from Solaris 9 to XP, however, when I do the copy using WINscp3 the text is being wrapped. If I do a
cat filename | mail to_me

Then the text is being wrapped too. However, if I vi into the file from Solaris and do a copy paste with mouse from the vi editor  into an SQLNav editor then the insert is not wrapped. I cannot copy all the data this way becuase I can only scroll up a certain amount of data in vi. Does anyone have any ideas as to how I can copy this file accross without it wrapping? Thanks for the help.
0
Comment
Question by:bencouve2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 6

Assisted Solution

by:bpeterse
bpeterse earned 668 total points
ID: 17988881
Try Filezilla - open source and quite the handy tool.  Displays permissions on both machines as well. It doesn't do scp but it does handleftp and sftp well....

http://sourceforge.net/projects/filezilla
0
 
LVL 48

Accepted Solution

by:
Tintin earned 668 total points
ID: 17989921
You can copy it using your existing methods if you do

unix2dos filename filename

first.
0
 
LVL 38

Assisted Solution

by:wesly_chen
wesly_chen earned 664 total points
ID: 18006294
Or use "wordpad" on XP to open the text file and save it again.
0
 

Author Comment

by:bencouve2
ID: 18012785
I think that you are probably all right. I have found a solution but as always I am very grateful for your input. For the records and incase anyone has the same issue, what I did was gave the script an sql extension, like this myfile.sql, on the solaris os and then copied it accross to the xp os and it did not wrap the text. So, there is anther solution. Thanks for the input. I am going to split the points. Thanks again.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question