Avatar of viveksuvarna
viveksuvarna

asked on 

Winzip and FTP to UNIX

Hi
I have to zip a 200 Meg file and ftp it to a UNIX box
im using the command line interface of winzip (wzzip) to zip the file
Due to the diff in treatment of line feeds and carriage returns between UNIX and DOS environments the file i zip and send when unzipped on the unix box has carraige returns in them
Has anyone come across sucha an issue and how did u resolve this
Windows 2000

Avatar of undefined
Last Comment
Steve Knight
Avatar of sunnycoder
sunnycoder
Flag of India image

Hi viveksuvarna,

> when unzipped on the unix box has carraige returns in them
On the Unix prompt execute command

dos2unix /path/to/file

The command will performed the necessary conversions

Cheers!
Sunnycoder
Avatar of viveksuvarna
viveksuvarna

ASKER

Yeah agreed i can dos2unix it
But i cant change any code on the unix side
so any code changes /manipulations i do has to be b4 i ftp the file across

ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of sunnycoder
sunnycoder
Flag of India image

You wont have to change any code unless you are talking about porting the code rather than simply transfering it ....
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Sounds good to me.
Windows 2000
Windows 2000

Windows 2000 is an operating system for use on both client and server computers. It is the successor to Windows NT 4.0, and is the last version of Microsoft Windows to display the "Windows NT" designation. Four editions of Windows 2000 were released (Professional, Server, Advanced Server, and Datacenter Server) that shared a core set of features, including many system utilities such as the Microsoft Management Console. All versions of the operating system support NTFS 3.0, Encrypting File System, as well as basic and dynamic disk storage. The Windows 2000 Server family includes support for Active Directory services, Distributed File System and fault-redundant storage volumes.

37K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo