If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Upload

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-06, 05:22
dimis2500 dimis2500 is offline
Registered User
 
Join Date: Jan 2005
Posts: 362
Upload

I want to make two asp files, one for upload and one for download files.
Do you know some free asp scripts or tutorials for this.
Thank you in advance.
dimis
Reply With Quote
  #2 (permalink)  
Old 01-26-06, 00:44
kropes2001 kropes2001 is offline
Registered User
 
Join Date: Nov 2005
Location: Honolulu HI
Posts: 118
here is a freebie
http://www.lewismoten.com/LewiesCode...esWithoutCOMv3

who is your web host ?
check to see if they have ASP componendts like ASPUpload loaded as part of their accounts. thats what we use.
http://www.aspupload.com/
__________________
.
.
http://www.GetMySiteOnline.com - Can you help me Get My Site Online ? (Yes. That is EXACTLY what we do.)

http://www.GetMySiteOnline.com/FightingSpam/
__________________________
caeli enarrant gloriam Dei !
Reply With Quote
  #3 (permalink)  
Old 01-29-06, 16:44
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
For downloading files you can simply show each file as a link.

And here is a pure ASP (i.e. no components) resource for letting the user upload one or more files which is something that was unfortunately not built into ASP:

ASP File Upload Using VBScript by John R. Lewis
http://aspzone.com/articles/160.aspx

The above free code has worked well for me and you can copy and paste the code sample which is white on gray (what were they thinking?) or just highlight it and it becomes black on white.
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
  #4 (permalink)  
Old 01-29-06, 19:45
kropes2001 kropes2001 is offline
Registered User
 
Join Date: Nov 2005
Location: Honolulu HI
Posts: 118
thats basically what i gav him.
the code from lewis moten is some of the most common code used on the net to do this.

and while yes, you can just display files on the page as a link, people have to know enough about computers to right click on the file and then "save as..." otherwise if you display an EXE, jpg, or any number of other files, their browser will try to execute it as tehy left click on it.

thats some of the reasons to use a component, as you can force a download and avoid the browser trying to run the file. like i said. check with your hosting company, they may already ahve something installed on their servers. a lot of us do now days.

i agree... "white on gray" what were they thinking...
__________________
.
.
http://www.GetMySiteOnline.com - Can you help me Get My Site Online ? (Yes. That is EXACTLY what we do.)

http://www.GetMySiteOnline.com/FightingSpam/
__________________________
caeli enarrant gloriam Dei !
Reply With Quote
  #5 (permalink)  
Old 01-29-06, 19:54
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Quote:
i agree... "white on gray" what were they thinking...
Glad we agree on SOMETHING!
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On