Results 1 to 2 of 2

Thread: EOL markers for UNIX/DOS FTP transfers

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    63

    Arrow

    If I manually FTP a file from UNIX to DOS using windows FTP.EXE, then the DOS file has CR/LF as the end of line markers. If I use the Inet control (Microsoft Internet Transfer Control) and do a .Execute , "GET unixfile dosfile" then the file comes across EXACTLY as it is on UNIX (Ie. just LF end of line markers). FTP.EXE seems to auto-convert EOL markers. (Historically, DOS text files uses CR/LF combinations for end of line, while UNIX uses LF for its end of line).
    Does anyone know if there is a way to tell the INET control to set the EOL markers to CR/LF for UNIX to DOS, and LF for DOS to UNIX ?????

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Posts
    81

    Thumbs down Not the answer you're looking for

    I'm pretty sure the internet transfer control will only allow binary transfers - so the CR/LF will always remain the same. You'll have to do your own post-transfer processing to make it look like an ascii transfer.

    Sorry but c'est la vie!

    Toot
    Some cause happiness wherever they go; others, whenever they go.

Posting Permissions

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



Click Here to Expand Forum to Full Width