Solved

Copying a text file from Solaris to XP

Posted on 2006-11-21
4
273 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
4 Comments
 
LVL 6

Assisted Solution

by:bpeterse
bpeterse earned 167 total points
Comment Utility
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 167 total points
Comment Utility
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 166 total points
Comment Utility
Or use "wordpad" on XP to open the text file and save it again.
0
 

Author Comment

by:bencouve2
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now