Hello Scott,

Thursday, June 27, 2002, 1:56:54 PM, you textually orated:

SL> Folks,
SL> Due to strict DMZ requirements at a particular client,
SL> I am not allowed to ftp UNIX files from one Linux server directly to
SL> another.
SL> Instead, I have to ftp to a general staging area, copy to a Windows 2000
SL> server,
SL> burn a CD-ROM, then mount the CD-ROM on my DMZ'd Linux Server.
SL> Major pain in the a**!

LOL. Thanks for this one. I love this kind of insanity. :)

SL> When I go to edit the file on my destination Linux server,
SL> it is now recognized by "vi" as a DOS file!
SL> I suspect this is being done by the CD-ROM burner as far as setting a
SL> file format.
SL> I have tried specifying an ISO 9660 format for the CD-ROM,
SL> but all this does is mess up the file names to the old 8.3 format,
SL> and the files themselves still get whacked into a DOS filetype.

SL> How can I convert a file designated as a DOS type, to a UNIX type?

Use dos2unix to convert the files you already have transferred.

Try FTPing using binary instead of ascii. I know they are text files but the
change in line ending is done in the ascii transfer. There is no
"translation" in a binary transfer.

Have fun,
-- 
_________________________________________________________________
 Brian Ashe                     CTO
 [EMAIL PROTECTED]              Dee-Web Software Services, LLC.
 http://www.dee-web.com/
-----------------------------------------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to