Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

file upload
Welcome, Guest. Please login or register.
August 28, 2008, 02:12:25 PM
11291 Posts in 1243 Topics by 838 Members
Latest Member: gjpino
Experts Round Table Network  |  Serverside Technology  |  ASP  |  file upload « previous next »
Pages: [1]
Author Topic: file upload  (Read 427 times)
Johnny26652

Offline Offline

Posts: 59


« on: December 04, 2006, 05:07:00 PM »

I was wondering if anyone has a script for file upload to a folder using asp?
Logged

Johnny
VGR
Mentor

Offline Offline

Posts: 680



WWW
« Reply #1 on: December 05, 2006, 02:52:37 PM »

well, basically this is an HTTP upload, not an ASP upload nor a PHP upload ;-)
the principles are the same (see Apache's documentation, or PHP's)
you use a standard HTML FORM with one type=file field and a supplementary hidden field (max_file_size), then you process $_POST or $_FILES

no big deal

google should find you hundreds of ASP scripts for doing so ;-)
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
VGR
Mentor

Offline Offline

Posts: 680



WWW
« Reply #2 on: December 07, 2006, 06:32:33 AM »

there is NO such thing as "upload a file from asp^page" : you upload a file from an HTML page generated by ASP
so all you've to do is produce valid HTML for "HTTP upload" (hence my references), via your scripting language (which is unimportant here, be it ASP, PHP, Perl or whatever)

As I said earlier, googling gives you those four first results :
http://www.asp101.com/articles/jacob/scriptupload.asp (but they use VBS, so probably a bad bet)
http://www.hotscripts.com/ASP/Scripts_and_Components/File_Manipulation/Upload_Systems/index.html (in cse I dodn't get you right and your "ASP" reference was for the nonsense server-side called "ASP mode". This uses a Java applet)
http://www.aspin.com/home/webapps/fileoper/upload tons of ASP scriptds for file upload
http://www.aspobjects.com/ASP_Scripts/File_Management/Upload_Download/ ditto

regards
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
Pages: [1]
« previous next »
    Jump to: