Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

uploading large file

Status
Not open for further replies.

lyewh

Programmer
Jul 18, 2001
6
SG
Hi,

Have a problem with my design, i manage to upload files to the server without the use of 3rd party upload component, but the problem is that uploading of the file/s take very long.e.g. 800k files took more than an hr.is there a solution to speed up the uploading of files using pure asp?

thanks a lot.
 
The upload rate is largly determined by the connection speeds between the source and destination machines...How have you implemented the upload so far...if we know....we may be able to give you some pointers....
 
hi, thks for your reply. attached below is the sub routine of the script to upload the file. please view and comments.

--------------------------------------------------------
Sub WriteToFile(strTargetFileName, strSourceFileName, strFileData)
Dim fsoObj, fsoFile

Set fsoObj = Server.CreateObject("Scripting.FileSystemObject")
Set fsoFile = fsoObj.CreateTextFile(strTargetFileName,True)

fsoFile.Write NormalStr(strFileData)
fsoFile.Close

Set fsoFile = Nothing
Set fsoObj = Nothing

End Sub


thks iin advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top