Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Server Side Programming > ASP and ASP.NET
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 09-14-2009, 03:58 PM
  #1
gillweb
Swordman (Level 9)
 
gillweb's Avatar
 
Join Date: May 2004
Posts: 87
iTrader: (0)
gillweb is on a distinguished road
UploadFile / Send as Attachment

I need to upload a file and have that file sent as an attachment along with the other Form submission fields. Can someone pass me in a direction? I am using ASP and have seen a few 'pre-made' scripts but they weren't very learning friendly and didn't explain how to do it. Thanks in advance....
gillweb is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-16-2009, 12:22 PM
  #2
afterburn
Can't say much here
 
afterburn's Avatar
 
Join Date: May 2004
Posts: 2,832
iTrader: (0)
afterburn will become famous soon enough
what upload component are you using ?

What mail component are you using?
__________________
ASP.net nice bits
Code Smith rocking tool for Code Generation in any language (Written in .net)
Red Gate SQL tools for DBA
Blog Personal blog
.afterburn
afterburn is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-16-2009, 12:53 PM
  #3
gillweb
Swordman (Level 9)
 
gillweb's Avatar
 
Join Date: May 2004
Posts: 87
iTrader: (0)
gillweb is on a distinguished road
CDONTS for email

for upload...
Code:
		Set oFS = Server.CreateObject("Scripting.FileSystemObject")
gillweb is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-16-2009, 01:06 PM
  #4
gillweb
Swordman (Level 9)
 
gillweb's Avatar
 
Join Date: May 2004
Posts: 87
iTrader: (0)
gillweb is on a distinguished road
Wow... all the things i've read on the Internet and adding the attachment was as easy as adding this to my email code!!!!! Post can be closed.
Code:
mail.AddAttachment
gillweb is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-17-2009, 01:56 PM
  #5
afterburn
Can't say much here
 
afterburn's Avatar
 
Join Date: May 2004
Posts: 2,832
iTrader: (0)
afterburn will become famous soon enough
Quote:
Originally Posted by gillweb View Post
CDONTS for email

for upload...
Code:
		Set oFS = Server.CreateObject("Scripting.FileSystemObject")
That is not CDO and CDONTS has been abandoned since the release of Windows 2000 (even that OS isn't supported).

Besides that fact "Scripting.FileSystemObject" definitly isn't either a mail object or upload

try aspupload.com

http://www.paulsadowski.com/WSH/cdo.htm

Should be the details of how to use CDO
__________________
ASP.net nice bits
Code Smith rocking tool for Code Generation in any language (Written in .net)
Red Gate SQL tools for DBA
Blog Personal blog
.afterburn
afterburn is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-17-2009, 02:16 PM
  #6
gillweb
Swordman (Level 9)
 
gillweb's Avatar
 
Join Date: May 2004
Posts: 87
iTrader: (0)
gillweb is on a distinguished road
Sorry I meant CDO. aspupload.com has a .exe file to download. I do not have access to the server to install it. Know of any other 'good' uploaders in ASP that can help me?
gillweb is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-17-2009, 03:05 PM
  #7
afterburn
Can't say much here
 
afterburn's Avatar
 
Join Date: May 2004
Posts: 2,832
iTrader: (0)
afterburn will become famous soon enough
most of the time when in a shared hosting enviroment they will give you a list of components that are installed. Check there first
__________________
ASP.net nice bits
Code Smith rocking tool for Code Generation in any language (Written in .net)
Red Gate SQL tools for DBA
Blog Personal blog
.afterburn
afterburn is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 11:52 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.