yeah, that works.

OPENSEQ, OPENSEQ ,READBLK, WRITEBLK, CLOSESEQ, CLOSESEQ

Louis

----- Original Message ----- 
From: "Peter Olson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 24, 2004 7:51 PM
Subject: RE: [U2] Data truncation


: readblk ?
:
: -----Original Message-----
: From: [EMAIL PROTECTED]
: [mailto:[EMAIL PROTECTED] Behalf Of Louis Windsor
: Sent: Monday, May 24, 2004 6:28 AM
: To: [EMAIL PROTECTED]
: Subject: Re: [U2] Data truncation
:
:
: Spoke too soon!
:
: All I have to do is work out how to tell UniVerse to leave the binary data
: alone when I read it from cURL temporary output file.
:
: As it is UniVerse adds 6Kb worth of hex 0Ds before hex 0As.
:
: Louis
:
: ----- Original Message ----- 
: From: "Louis Windsor" <[EMAIL PROTECTED]>
: To: <[EMAIL PROTECTED]>
: Sent: Monday, May 24, 2004 4:01 PM
: Subject: Re: [U2] Data truncation
:
:
: : Thanks Larry!
: :
: : I had "curl -s -o filename URL" and it would NOT work, try as I might.
: : I swapped things arguments around and all sorts.  Played around with
: : the filename etc.  The URL wasn't very long and I was GETting not
: : POSTing.
: :
: : In desperation I changed it to (as you suggested)
: :
: : curl --fail --silent --output filename --url URL
: :
: : IT WORKED!!!!
: :
: : I can't explain it.  It works now so I'm going to leave it alone!
: :
: : Thanks,
: :
: : Louis
: :
: :
: : ----- Original Message ----- 
: : From: "Larry Hiscock" <[EMAIL PROTECTED]>
: : To: <[EMAIL PROTECTED]>
: : Sent: Monday, May 24, 2004 2:52 PM
: : Subject: RE: [U2] Data truncation
: :
: :
: : : One thing I've noticed with curl -- if you have a long URL or a lot of
: : data
: : : to post, packing it all onto the command line sometimes fails.  I
think
: it
: : : gets too long for the command interpreter to deal with.
: : :
: : : What I've had good success with is writing curl options to a file, and
: : then
: : : invoking curl with the -K option.  I use the longer format of the curl
: : : options, and generally use the following:
 curl --fail --silent --output
: : : <filename> --url URL
: : :
: : : I've done this on both Unix/Linux and Windows platforms with good
: success.
: : :
: : : Larry Hiscock
: : : Western Computer Services
: : :
: : :
: : : -----Original Message-----
: : : From: [EMAIL PROTECTED]
: : : [mailto:[EMAIL PROTECTED] Behalf Of Louis Windsor
: : : Sent: Sunday, May 23, 2004 11:03 PM
: : : To: [EMAIL PROTECTED]
: : : Subject: Re: [U2] Data truncation
: : :
: : :
: : : 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
: : : -------
: : : 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
:
:
: This e-mail, including attachments, may include confidential and/or
: proprietary information, and may be used only by the person or entity to
: which it is addressed. If the reader of this e-mail is not the intended
: recipient or his or her authorized agent, the reader is hereby notified
: that any dissemination, distribution or copying of this e-mail is
: prohibited. If you have received this e-mail in error, please notify the
: sender by replying to this message and delete this e-mail immediately.
: -------
: 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