Helpful Information
 
 
Category: ASP Programming
Need code or help on how to upload jpg file

I'm looking for some ASP code that will allow a user at my website to upload a jpg. image from his or her harddrive to my website or just to mail it to me via email. Can anyone help me? Thanking you in advance.

http://www.aspsmart.com/aspSmartUpload/

it's free and the code samples etc on the site should get you going...

however, it requires a dll on the server (as a lot of file upload solutions for asp do)... so if it's not your box, your first step is to contact the host and ask if they already have something of this sort installed.

Thanks for the website it was what I needed. I was wondering if you also knew of a way in ASP to upload an attachment in a form and send via e-mail?

do a websearch for 'CDONTS' - this is the built in email support in NT like OSes - the CDO is 'Collaborative Data Objects'. however, i forget whether it has support for attachments, you might need another dll - i once used one called JMail (no relation to Java) and I believe there's another one called aspmail.

ah! - it seems the same website i pointed you to before has one: http://www.aspsmart.com/aspSmartMail/

you will run into similar issues as before regarding what support is offered for your box - if it's your box, well - the sky's the limit.

Visit this thread (http://forums.devshed.com/showthread.php?s=&postid=419566#post419566) for two different asp solutions. Both are FREE :D










privacy (GDPR)