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
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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You wont have to change any code unless you are talking about porting the code rather than simply transfering it ....
Sounds good to me.
> 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