I am EXECUTE ... CAPTURING VARIABLE. I have done this heaps of times with text and it works beautifully.
I tried lots of different ways to make cURL output to a file and always failed. Even the straightforward curl -s URL -o <filename> I even posted a question on the cURL website sometime ago but didn't get a reasonable response. I suspect they are a little intolerant of newbie's or unusual environments (UniVerse). Louis ----- Original Message ----- From: "Larry Hiscock" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 24, 2004 1:13 PM Subject: RE: [U2] Data truncation : 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 : ------- u2-users mailing list [EMAIL PROTECTED] http://www.u2ug.org/listinfo/u2-users
