Click to See Complete Forum and Search --> : viewing unix made files in a text box
ShadowWal
Jul 22nd, 1999, 04:51 AM
im trying to download a file that was created on my server. but each time i do it with the inet control it returns the file on one line with a black | character which i beleave is the unix carragereturn. any one have anyidea on what that character is or how to return the exact file like it would be seen in windows?
Thanks, SW
You can use a constant called vbNewLine to handle this for you (I've heard). The issue is chr$(13) and chr$(10). One system uses both while the other uses only chr$(13).
I also was frustrated when writing a vb client to talk to a unix server due to this.
ShadowWal
Jul 24th, 1999, 11:21 AM
Thanks VirtuallyVB. it worked. i still get that | but it reads it from a richtext to a list box. so thats all i needed. thanks again
SW
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.