Hello,
Here is the full outline of the issue:
------------------------------------------
Server: Windows 2000
Web Server: IIS 5.0
Database: SQL Server 2000 Spk 3
Web Pages: ASP (MDE 6.0)
------------------------------------------
History
------------------------------------------
I have an ASP Page that uses enctype="multipart/form-data" and posts the
form upload to another asp file.
The second asp file opens SQL Server, creates a new record in the Uploads
table and retrieves the ID. The ID is used as the name of a new folder
created. Then the file is uploaded the new folder location using the
ASPFileUpload dll provided by MSDN.
Problem
------------------------------------------
When using the Safari browser (MAC OS X) there are numerous records created
in the DB and numerous folders created, with no uploaded file present.
It is as if the Safari browser is calling the page 10 times, and only going
as far as the new record in the DB and the creation of the folders each time.
Finally the following error occurs on the MAC: "Safari can't connect to the
server: Safari can't open the page '<http page>' because it could not connect
to the server '<web site root>'".
Thanks in advance.
"Mark Schupp" wrote:
Safari is probably not sending the data in a format that the ASPUpload
component expects.
If you have a network trace utility available have a look at a request from
each browser. If not try using a simple page to do a binary read and write
the entire thing to a file so that you can see the differences.
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Foreman" <Fo*****@discussions.microsoft.com> wrote in message
news:68**********************************@microsof t.com... Hey there,
What happens is the following:
IE6 (correct):
The main form calls an asp file that creates a folder, creates a text file
in the new folder, and then calls the ASPFileUploads dll (provided by
MSDN) and DOES upload the file to the new folder.
Safari (incorrect):
The main form calls an asp file that creates 10-20 folders (arbitrarily)
and then calls the ASPFileUploads dll (provided by MSDN) and DOES NOT upload
the file.
Thanks in advance for your assistance.
"Aaron [SQL Server MVP]" wrote:
What does "not work" mean? Have you tried any other approaches (some of
which are free):
http://www.aspfaq.com/2189
--
http://www.aspfaq.com/
(Reverse address to reply.)
"Foreman" <Fo*****@discussions.microsoft.com> wrote in message
news:E3**********************************@microsof t.com...
> Using ASPFileUpload
> (http://support.microsoft.com/default...b;en-us;299692) and works > for IE6 and FireFox but not Safari.
>
> Thanks in advance for your assistance.