Board index » delphi » Http Post multi-part form data using Indy

Http Post multi-part form data using Indy

Hi All,
Are there any examples of doing a file upload using a multi-part form data
post, using  the TidHttp component?
Thanks for any help
Randy
 

Re:Http Post multi-part form data using Indy


ran...@xmission.com (Randy Trover) wrote in <8ojkdb$gbc1
@bornews.borland.com>:

Quote
>Hi All,
>Are there any examples of doing a file upload using a multi-part form data
>post, using  the TidHttp component?

You would have to set the Content type to multipart/enc. and then use the
overloaded Post method that accepts streams.

Other Threads