Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 upload script
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PPSSWeb
Junior Member

312 Posts

Posted - 09 April 2007 :  16:37:42  Show Profile
Has anyone tried using freeaspupload? It works fine on the server with the demo script provided, but I am having a heck of a time getting it to work as a replacement for the upload script in my installation of the proeder's upload Mod. It seems a lot faster, but I just can't seem to get them to play nice.

AnonJr
Moderator

United States
5768 Posts

Posted - 09 April 2007 :  16:54:01  Show Profile  Visit AnonJr's Homepage
What version of VBScript do you have on the server? I ask because that is what is keeping me from using a similar script... May also be worthwhile to find out what version of ADO you have as that could be part of it too.

More information on what kind of problems you are having would help too.
Go to Top of Page

PPSSWeb
Junior Member

312 Posts

Posted - 10 April 2007 :  08:34:42  Show Profile
Yeah details would help. At first I was just wondering if anyone had tried it and discovered it just doesn't work.

Anyway, I have the right versions installed as the demo script from the author included in the package test this and that script runs fine and uploads any file I choose.

When I attempt to use this script/class to replace the upload.asp of the proeder's file attachment mod, I can't get it to upload the files. I believe the error is in capturing and using the filename, but I am just not able to wrap my mind around this one for some reason.

If I duplicate the functions and execution statements from the demo script and put them in the area of outputFile.asp where the file is uploaded to the server, I get the error: "The file name specified in the upload form does not correspond to a valid file in the system."

Any help would be greatly appreciated as in testing this upload script is significantly faster and has less limitations than the one included with the mod.

Thanks,
Steve
Go to Top of Page

PPSSWeb
Junior Member

312 Posts

Posted - 10 April 2007 :  09:48:05  Show Profile
OK, I have found my problem. I am an idiot.

I was trying to use parts of both upload functions instead of replacing the original totally. I do not have the time to rework the whole mod for the new script right now, but hopefully I will in the future. It seems much faster as it uses streams instead of byte strings.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 10 April 2007 :  10:47:49  Show Profile  Visit AnonJr's Homepage
Glad you found where the problem was.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07