Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

problem with record terminator on ftp'd files

$
0
0

Using Win7 Pro 64bit

This is not strictly a scripting issue, but it doesn't seem to fit neatly into any other forum, so I figured that there might be sufficient expertise here.

and I am doing this in a script ... ;-)

I ftp a plain text file from a linux server.  File gets proper record-delimiter translation.  Open the file with a hex editor and I can see the x'0D0A'.  But if I open the file in Notepad, it comes up as one long run-on line.  And if I try to process it with a vbscript, a Line Input command returns the entire file. 

I've done a lot of ftp across multiple systems (dos, Windows, OS/2, OS/MVS, various *nix) over many years, and have never seen anything like this.

Ideas?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>