>I am not allowed to ftp UNIX files from one Linux server directly to >another. >Instead, I have to ftp to a general staging area, copy to a Windows 2000 >server, >burn a CD-ROM, then mount the CD-ROM on my DMZ'd Linux Server. >Major pain in the a**! > >When I go to edit the file on my destination Linux server, >it is now recognized by "vi" as a DOS file! >I suspect this is being done by the CD-ROM burner as far as setting a >file format. >I have tried specifying an ISO 9660 format for the CD-ROM, >but all this does is mess up the file names to the old 8.3 format, >and the files themselves still get whacked into a DOS filetype. > >How can I convert a file designated as a DOS type, to a UNIX type?
If the file gets converted to DOS format in passing to ftp it is probably because of the difference in line ending conventions, Are you issuing the 'bin' command prior to actually transfer from your ftp client? That might help. regards, cl. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list