Link to home
Start Free TrialLog in
Avatar of alexdg
alexdg

asked on

File upload support in Delphi in Web Server App??

Hi there! Does anyone know how to get files from the form in Delphi Web Server App?? I'm using this form:

<form ENCTYPE="multipart/form-data" action="/project1.exe" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="1000000">
<input type="file" name="UploadedFile" class="InputTextBox">
<input type="submit">
</form>

It works fine in PHP3, but I can't manage to make it work in Delphi. Any suggestions??

Thanks.
Avatar of simonet
simonet
Flag of Brazil image

Do you want to upload a file from the user's machine to the web server or the other way around (download from the server to the user's machine)?

If it is the second choice, I have a Delphi CGI project that does that.

Alex
ASKER CERTIFIED SOLUTION
Avatar of Motaz
Motaz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
listenning
Avatar of alexdg
alexdg

ASKER

simonet: the first one... but I don't mind to know how to do the second one...

Motaz: alex@alexdg.com


Motaz, can you send me the component/project you mentioned?

Thanks.

Alex
With my pleasure:)
Alex, I searched your E-Mail in your site, but I cann't find it, please write it here.

Motaz
Oh.. I thought I had mentioned it!

simonet@bhnet.com.br

Thanks, Motaz!