Solved

File upload support in Delphi in Web Server App??

Posted on 2000-05-13
8
272 Views
Last Modified: 2010-04-04
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
Comment
Question by:alexdg
8 Comments
 
LVL 15

Expert Comment

by:simonet
ID: 2807747
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
 
LVL 7

Accepted Solution

by:
Motaz earned 200 total points
ID: 2807776
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
 
LVL 3

Expert Comment

by:bryan7
ID: 2807778
listenning
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

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

Motaz: alex@alexdg.com


0
 
LVL 15

Expert Comment

by:simonet
ID: 4783140
Motaz, can you send me the component/project you mentioned?

Thanks.

Alex
0
 
LVL 7

Expert Comment

by:Motaz
ID: 4783319
With my pleasure:)
0
 
LVL 7

Expert Comment

by:Motaz
ID: 4783368
Alex, I searched your E-Mail in your site, but I cann't find it, please write it here.

Motaz
0
 
LVL 15

Expert Comment

by:simonet
ID: 4783444
Oh.. I thought I had mentioned it!

simonet@bhnet.com.br

Thanks, Motaz!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question