[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: http_post_url - point to User Space



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


>
> The http_post_url API passes the data that is to be posted as a pointer.
> Does this mean that I could pass a User Space pointer to an area within the
> User Space where I know the post data resides?  Just wondering if User Space
> memory works the same as passing a pointer of an RPG variable.
>

Yes, that should work.   Keep in mind that http_url_post converts EBCDIC
to ASCII but does no other encoding of the data.  If any special encoding
is necessary, you'll have to do that when you put it into the user space.

> Let me know if this would be more appropriately asked on the RPG midrange
> list; I thought I would start here. . .

I think that the ftpapi list is more appropriate.

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------