[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multipart form post question
OK, well I can live with it the way it is. Thanks!
----- Original Message -----
From: "Scott Klement" <sk@xxxxxxxxxxxxxxxx>
To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, April 18, 2009 12:00 AM
Subject: Re: Multipart form post question
> Hi Derik,
>
> HTTPAPI's MFD encoder, as written, does it's encoding to a stream file
> in the IFS. Since the MFD encoder needs to be useful for file uploads,
> including the ability to handle multiple files that are many megabytes
> long, it needs to be able to encode the data into a storage medium
> that's capable of storing several gigabytes of data.
>
> I chose to use a stream file for that, since I had a routine to POST a
> stream file, and therefore it seemed a natural fit.
>
> Would it be possible to write an MFD encoder that works differently?
> Absolutely. You could encode the data to teraspace and use
> http_url_post_raw() to send it.
>
> But, that means you'll either have to write your own encoder, or modify
> mine to allow teraspace in addition to streamfile for the target. It's
> certainly possible, but not easy.
>
>
> Derik Blocker wrote:
>> My program is doing credit card validation and I would prefer not to
>> store
>> the data on my system at all at any time. Also I would like to receive
>> the
>> response in a variable instead of a stmf.
>>
>>
>> ----- Original Message -----
>> From: "Scott Klement" <sk@xxxxxxxxxxxxxxxx>
>> To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
>> Sent: Friday, April 17, 2009 1:44 AM
>> Subject: Re: Multipart form post question
>>
>>
>>> Hi Derik,
>>>
>>> Is it *possible* to use a raw post?? Absolutely. But what would be the
>>> value of doing that? What would it gain you?
>>>
>>>
>>> Derik Blocker wrote:
>>>> I am able to get my program to post multipart form data using stmf
>>>> just like in EXAMPLE17. Is it possible to do this with a raw post?
>>>> I
>>>> would prefer not to use the stmf method if at all possible. Also,
>>>> if
>>>> I have to use the stmf, is there a way to get the response in a
>>>> variable instead of stmf?
>>>>
>>>>
>>>>
>>>> Thanks
>>>>
>>>> Derik
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> -----------------------------------------------------------------------
>>>> This is the FTPAPI mailing list. To unsubscribe, please go to:
>>>> http://www.scottklement.com/mailman/listinfo/ftpapi
>>>> -----------------------------------------------------------------------
>>> -----------------------------------------------------------------------
>>> This is the FTPAPI mailing list. To unsubscribe, please go to:
>>> http://www.scottklement.com/mailman/listinfo/ftpapi
>>> -----------------------------------------------------------------------
>>>
>>
>> -----------------------------------------------------------------------
>> This is the FTPAPI mailing list. To unsubscribe, please go to:
>> http://www.scottklement.com/mailman/listinfo/ftpapi
>> -----------------------------------------------------------------------
>>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------