?
Solved

Create a cgi/html link on web that allows dowloading of ALL images in a directory. I have 240 images.

Posted on 2011-03-02
7
Medium Priority
?
406 Views
Last Modified: 2013-12-25
Lets say I have a group of images within a directory called /path and I want to post a link that allows someone to download all images in that directory. Is that possible or would I have to create a link for ALL images that want to be downloaded. Perhaps I want to do it in groups instead. Lets say 4 link that pull up all 60 in a category. The files/images in category 1 would start with lets say so4big category 2 could be so2big category 3 could be so4domain and category 4 could be so2domain and so on. The link would be on an index.cgi file
0
Comment
Question by:libertyforall2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 1332 total points
ID: 35022232
A link is to a single URL or file.  You would have to automate it somehow to download more than one at time.  There are programs that are not web browsers that do that.
0
 
LVL 17

Accepted Solution

by:
selvol earned 668 total points
ID: 35022696
A good way to do this and it would be faster is.

Create a .zip file or .rar file containing all the images for that folder.
And another for each catagory.

Then just have that link posted

<a href=allimages.rar> Download all these images</a>

Selvol
0
 

Author Comment

by:libertyforall2
ID: 35023216
The thing is I want to scp automatically files in batch mode to a directory. If I did that, I would need to somehow set that up in batch mode as well. Not sure how to do that.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 35023498
SCP doesn't have anything to do with "a cgi/html link on web".  If you're going to use an FTP/SFTP client, you can organize your pic files into directories.
0
 

Author Comment

by:libertyforall2
ID: 35023554
            I know scp doesn't have anything to do with the link on what web except for the fact that I am using scp to send files that are creating twice daily in batch mode to another server. The other server will then host the images that will be linked to the site for download. As a result, every time the images are changed the zip or rar file would then need to be created. This needs to be an automated process so I don't have to manually create the file using software. I would have to install and compile the software on a linux box which adds uncessary complications. It would be easier for me to create a static link for all files and simply have the files updated for download. I just thought there might be a cleaner way to do it than to have 240 links on site.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 1332 total points
ID: 35023567
There isn't any kind of link but the regular kind that is a request for a single URL which returns a single object.  If this is some kind of subscription that people will download every day, there are other ways to download them like wget and httrack.
0
 

Author Closing Comment

by:libertyforall2
ID: 35132490
I just created the page with numerous links.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question