• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 291
  • Last Modified:

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.
0
alexdg
Asked:
alexdg
1 Solution
 
simonetCommented:
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
0
 
MotazCommented:
I have a component that can read uploaded files which will work in server side, but there is not problem in  client side (HTML).

Tell me your E-Mail to send the component and the example.

Motaz
motaz1@yahoo.com
0
 
bryan7Commented:
listenning
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

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

Motaz: alex@alexdg.com


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

Thanks.

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

Motaz
0
 
simonetCommented:
Oh.. I thought I had mentioned it!

simonet@bhnet.com.br

Thanks, Motaz!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now