Find the answer to your Linux question:
Results 1 to 2 of 2
I am FTP'ing files from a Linux server to Windows (desktop machine on XP) via the DOS prompt using the mget function. Using both ASCII and BIN formats the file ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    1

    FTP Linux to NT file format corruption


    I am FTP'ing files from a Linux server to Windows (desktop machine on XP) via the DOS prompt using the mget function. Using both ASCII and BIN formats the file arrives in Windows with an invalid character at the end of each line in lieu of a normal carriage return. This is displayed in Notepad as a square. Unfortunately the legacy system on NT we are trying to load to doesn't like this. Any ideas on how to get the file in a valid MS-DOS format?

  2. #2
    Just Joined!
    Join Date
    Jun 2005
    Posts
    13
    Sounds like you just need to convert the line feeds to carriage return-line feed sequences, which are the default on windows. You could just pipe your data through unix2dos or something like it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •