[DUG] ISAPI upload problem
Trevor Jones
trevorj at ihug.co.nz
Thu Sep 22 11:18:14 NZST 2005
Phil,
How is the upload file submitted from the form?
If you are using something like this:
<code>
<form action="upload"
enctype="multipart/form-data" method="post">
<p>
Type some text (if you like):<br>
<input type="text" name="textline" size="30">
</p>
<p>
Please specify a file, or a set of files:<br>
<input type="file" name="datafile" size="40">
</p>
<p>
<input type="submit" value="Send">
</p>
</form>
</code>
...and Indy, then I may have some code that will help.
Trevor
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Phil Middlemiss
Sent: Thursday, 22 September 2005 9:59 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] ISAPI upload problem
I have an ISAPI DLL written in Delphi that provides a form for uploading
a CSV file. When I try to upload the CSV file it only manages to handle
678 lines and then produces an error (there should be over 1000 lines).
Is there some special handling I have to do to handle uploading files?
At the moment all I am doing is reading the Request.ContentFields
property to access the strings from the uploaded file.
Cheers,
Phil.
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list