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

Re: FTPAPI



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>



Hi again,

> Is there a http_url_post_stmf_raw?

Sort of...  both the input and output routines are "raw".  Meaning, you
have to supply a callback that reads the stream file in addition to a
callback that returns the data.

It's callled http_url_post_raw2()


> I'm looking at using http_url_post_stmf but would like
> to capture the response html to a return variable to
> %scan for 'File Recieved Sucessfully'

Two possibilities:

1) You use http_url_post_raw2(), and provide your own routines to reead
the stream file that you're sending, as well as the data you receive.

2) You use http_url_post_stmf() to a temp file, and then load the stream
file data into a variable in your program.

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