• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • Last Modified:

Graphi download

I wish to make a graphic downloadable from my web ie: click to doenload. I hyperlink give ftp://graphic.gif but when I click on pic on the web (after upload) I get an error "about proxy server and permission" any help please.

Mike Smith MSDZine.
0
msdzine
Asked:
msdzine
1 Solution
 
msdzineAuthor Commented:
The FTP in the question has activated please ignore this.
0
 
mgoergenCommented:
Are you on an Linux System?

Try to change the permission with "chmod 755 picname"
0
 
morbiusxCommented:
do you have winzip just make it into a zip file.
0
 
coopaCommented:
The immediate solution is to remove the "ftp" part as it's not needed.

So your code will become:
<a href="graphic.gif">Click here to download graphic.gif</a>

However, this will open the image in the browser... not what you wanted...

There are now two solutions...
1) as morbiusx suggested make it into a zip file with the image inside... this will not open in the browser and will start a dialogue box that says "save file as..." and allow the user to save the file anywhere on his machine. The code will become...
<a href="graphic.zip">Click here to download a zip file containing graphic.gif</a>

2) The other option is to inform that user that he/she will have to right click (or command-click for Mac) and select "save target as...".
making your code look like this.
<a href="graphic.gif">Right click here (or command click for Mac) and select "save file as..." to download graphic.gif</a>

Seems a little messy I know.

Hope this helps...

Rich Cooper.
------------
http://www.coopa.co.uk
0
 
msdzineAuthor Commented:
Exellent NO "bull" service thanks!!
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now