8 replies
by fgarber
by agibbs
It kindof depends on what your web host supports. If you have any familiarity with ASP, and your host supports it, I would highly recommend using SA-FileUp -- it is designed to do exactly that. If you don't have SA-FileUp & you're working on an NTweb server your only other choice is using the built-in HTTP posting acceptor that comes with IIS, and it's tough to get to work right. Remember, too, that allowing users to UPLOAD files to your web server means they have WRITE access to your web server, which means, if you're not careful setting permissions, ANYONE would have the ability to modify your web pages.
Here's some MS KB articles on the subject:
Q184352
Q189651
Q217425
--Aaron
by bkelley
by gbworld
The type of upload you are talking about is fairly easy, if your ISP has SAFileUp (or something similar) in place.
Part 1: Searching the drive. Once you set the input type to file, IE, at least, will give a common dialog to search the drive. If you absolutely need this in NetScape also, you will have to use Java or something similar.
Part 2: Upload. Many ISPs use SAFileUp (www.softwareartisans.com), which is certainly the easiest as Software Artisans has good documentation on their site. You can also find plenty of examples on the various ASP sites. Another option is the MS upload component, which first shipped with SiteServer Express (with IIS 4). It is harder to program against, as it does not allow you much control over where the file goes.
Part 3: Mail. This can either be done with CDO (search MSDN for coding methodology - or check out http://www.aspexpress.com/cdo2.asp for a small sample), although many ISPs use ASPMail (www.serverobjects.com), which is a bit nicer as itdoes not have to be in process.
No matter how you do this, you will have to code your own application. Note that the above suggestions do not work if your ISP uses Linux or Unix with FrontPage extensions. If so, you will have to utilize your CGI bin and put the upload programs there. There are probably free CGI scripts for this on the web.
Before going any deeper, I need to know some specifics about your ISP (you can email it, if you wish). I have some commented code for SAFileUp and ASPMail, but that will only help if these are available.
Gregory A. Beamer
MVP (FrontPage); MCP: +I, SE, SD, DBA
by bkelley
by bkelley
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending