Page is a not externally linkable
- Microsoft
-- Microsoft IIS Web Server and ASP.NET
---- Upload an image using ASP


lZakl - 2:23 am on Mar 8, 2006 (gmt 0)


Hello out there. I am "revising" a current page on our company site, and I need a script added for employees to upload images to a certain directory.

I have found many "pre built" scripts, but have failed at incorperating any of them into the current design. And I fear without hours and hours of filtering through the hundereds of lines of code writen by someone else, I won't be able to get this done.

What I am looking for is a starting point to learn about writing the script myself, or get a SIMPLE example of an upload script. I had a pretty well put together script written in PHP for our other site ... But this one is already written in ASP. It has to be simpler than 287 lines of code doesn't it?

I don't need anyone elses error handling etc. I can write my own. I just need to the get the file uploaded. Well over half of the lines in these scripts I've found online are just a ton of error handling. I can do without that. Just need the upload script.

Anyone have a tutorial or a list of globals and calls I can look into? Or even a small few-liner without all the checks etc?

Thanks!

-- Zak


Thread source:: http://www.webmasterworld.com/microsoft_asp_net/3290.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com