FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 26th, 2001, 11:29 PM
wcarolyn wcarolyn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: Australia
Posts: 10 wcarolyn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ftp question

I'm trying to create a link to download document template (with .dot extension), with the click on the link save the file on the local computer, as follows:

<a href="ftp://somewhere/file.dot">document template</a>

when the link is clicked, the content of the file is displayed on the browser instead of saving the file. What's wrong?

Reply With Quote
  #2  
Old June 27th, 2001, 02:23 AM
Void Void is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: The Netherlands
Posts: 200 Void User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Send a message via ICQ to Void
Plugins override downloads.

So what does this mean? Well, since your browser recognizes the .dot extension it will show the document in your browser window instead of allowing you to download it.

Workaround is creating a zip file.

You can even leave out the ftp part.
A normal <A HREF="doctemp.zip">Template</A> should work.

Reply With Quote
  #3  
Old June 28th, 2001, 03:24 PM
phreq phreq is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: New Zealand
Posts: 167 phreq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 3 sec
Reputation Power: 13
just a thought...

You could always specify in the instructions to right-click over the <a href="template.dot">Template</a> link and select 'Save Target As', which will save the file to a specified location on the client's machine.

Jen

Reply With Quote
  #4  
Old June 28th, 2001, 11:38 PM
wcarolyn wcarolyn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: Australia
Posts: 10 wcarolyn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks phreq. That's a good idea!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > ftp question

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap