How exactly are you capturing the output from curl?  Curl has an option to
direct it's output to a file instead of stdout (--output filename).  You
might try sending the output to a flat file in a directory that's defined as
a "dir" type file in UV.  Then you can simply open the file and read the
item in your program.

Larry Hiscock
Western Computer Services


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Louis Windsor
Sent: Sunday, May 23, 2004 9:21 PM
To: [EMAIL PROTECTED]
Subject: [U2] Data truncation


I apologise if this question has been asked before but I tried searching in
the u2ug but could not find anything.

I execute a DOS (cURL) function and get back binary data.  I expect about
832Kb but aparently the data gets truncated at hex 1A0A
which is converted to hex 0D0A.

I am fairly sure this is being done by UniVerse (on WinXP) as the execute
takes about the right time to download the 832Kb.

Are there any OPTIONS directives or SYSTEM commands I can set to prevent the
truncation?

TIA

Louis
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to