
griswald88
Novice
Feb 25, 2004, 1:53 PM
Post #3 of 5
(802 views)
|
|
Re: [davorg] Newline (\n) Interpretations
[In reply to]
|
Can't Post
|
|
OK, here is a little more information, here is what I am doing on the Perl side (at this point the file is PERFECT): if(open (DATAMAIN, "$archive_file")) { #read the file into an array and close handle @records=<DATAMAIN>; close (DATAMAIN); print "Content-type: application/octet-stream\n"; print "Content-disposition: attachment; filename=$archive_file\n\n"; print @records; } On the client, VB, on some machines (all platforms) a CR is stripped from the end of each record leaving behind a LF only, thus creating a file size difference. Any ideas now? Thanks again!!
|