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

RE: How to attach a file in a POST operation



In EXAMPLE7 the file being sent is tempFile.  The code to build that file and put your stream file in it are just prior to the call to http_url_post_stmf.

Scott


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mario Salgado
Sent: Monday, April 28, 2014 11:26 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: How to attach a file in a POST operation

Hi,
I just saw the post on the EXAMPLE7
You are talking about the '/tmp/http_result.txt'?


In my case I got a file with accurate information to send to the provider, may be a txt file or a pdf file.
This example is about that?

Thanks for your response

Mario Salgado
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------