Adding downloads

  • AMP Media
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 01, 2003
  • Posts: 14
  • Loc: London, UK
  • Status: Offline

Post July 1st, 2003, 3:04 pm

How can I add a file to my site so that others can download it? Using ultradev. It's only a WORD document....

Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 1st, 2003, 3:04 pm

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8926
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post July 1st, 2003, 3:28 pm

I am not sure how to use Ultradev, but it is usually pretty simple to add a file to your site for others to download. The first thing you need to do is upload the file to your web server and then simply make a link to that file, which would be just like any other link to a website or webpage. So for example if I upload a file called someprog.zip at ozzu I would link to it by using code such as:

Code: [ Select ]
<a href="http://www.ozzu.com/someprog.zip">someprog.zip</a>


Now as far as using Ultradev I would just try linking to it like you normally make links, or if you can insert HTML maybe use something like I showed you above.
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post July 1st, 2003, 11:07 pm

yes, just link to it the same way you would any other file on your server.
I would recommend using _blank on it tho. ;)
UNFLUX.FOTO
  • Steen
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 15, 2003
  • Posts: 343
  • Status: Offline

Post July 5th, 2003, 7:46 am

Why not have them input their email address and then your server sends them the file ?

if interested, it's .ASP


Using CDONTS to send a file attachment and have a Carbon Copy Recipient.


Code: [ Select ]
<%
  Dim MyBody2
  Dim MyCDONTSMail3
%>



<%
  Set MyCDONTSMail3 = CreateObject("CDONTS.NewMail")
  MyCDONTSMail3.From= "somebody@nowhere.com"
  MyCDONTSMail3.To= "nobody@nowhere.com"
  MyCDONTSMail3.Cc="nobody2@nowhere.com"
  MyCDONTSMail3.Subject="This is a Test"
  
  MyCDONTSMail3.AttachFile Server.MapPath("/somedirectory/bla.txt")
  ' or you could specify the path exactly if you knew it like below
  'MyCDONTSMail3.AttachFile ("C:\inetpub\wwwroot\somedirectory\bla.txt")
  
  MyBody2 = "Thank you for ordering that stuff" & vbCrLf
  MyBody2 = MyBody2 & "We appretiate your business" & vbCrLf
  MyBody2 = MyBody2 & "Your stuff will arrive within 7 business days"
  MyCDONTSMail3.Body= MyBody2
  MyCDONTSMail3.Send
  set MyCDONTSMail3=nothing
%>
  1. <%
  2.   Dim MyBody2
  3.   Dim MyCDONTSMail3
  4. %>
  5. <%
  6.   Set MyCDONTSMail3 = CreateObject("CDONTS.NewMail")
  7.   MyCDONTSMail3.From= "somebody@nowhere.com"
  8.   MyCDONTSMail3.To= "nobody@nowhere.com"
  9.   MyCDONTSMail3.Cc="nobody2@nowhere.com"
  10.   MyCDONTSMail3.Subject="This is a Test"
  11.   
  12.   MyCDONTSMail3.AttachFile Server.MapPath("/somedirectory/bla.txt")
  13.   ' or you could specify the path exactly if you knew it like below
  14.   'MyCDONTSMail3.AttachFile ("C:\inetpub\wwwroot\somedirectory\bla.txt")
  15.   
  16.   MyBody2 = "Thank you for ordering that stuff" & vbCrLf
  17.   MyBody2 = MyBody2 & "We appretiate your business" & vbCrLf
  18.   MyBody2 = MyBody2 & "Your stuff will arrive within 7 business days"
  19.   MyCDONTSMail3.Body= MyBody2
  20.   MyCDONTSMail3.Send
  21.   set MyCDONTSMail3=nothing
  22. %>



ps - Windows server only !
  • Gwamp
  • Newbie
  • Newbie
  • No Avatar
  • Joined: May 01, 2004
  • Posts: 7
  • Status: Offline

Post May 3rd, 2004, 6:19 am

Amp,

Did you manage to get it to download?

I am trying to get a .rar file to download but it opens a webpage and dumps text. I am using Frontpage.

Anyone knows the solution?

Gwamp...
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post May 4th, 2004, 12:50 am

lol talk about reviving a dead post!

It should work just by linking to the address. Try typing in the address to the file directly into your url bar. if this works the copy/paste the address into the href of the link.
CSS website design tutorials
  • gonetwork
  • Novice
  • Novice
  • User avatar
  • Joined: Apr 29, 2004
  • Posts: 24
  • Loc: Australia
  • Status: Offline

Post May 7th, 2004, 2:29 am

you can also use a download manager which will show the amount of times it is downloaded, get the persons email and also hide the file so it cannot be hotlinked. If you want one of these just let me know I have one I coded about 2 yrs ago on my server.

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 116 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.