addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [how-to-javascript] Remote file access and download via a script routine

From: Milan
Sent on: Monday, June 18, 2012 1:30 PM
Hi Nick,

Since you will need to zip it together on the server-side anyway you will need to have this be a back-end solution.

The next questions would be:  how are the servers connected?  Are they three separate servers?  Any type of NFS, cloud, sshfs, etc?  What protocols can you access the files through (e.g. HTTP, FTP, SSH, etc)?  Are the files combinations predictable (for caching to minimize re-zipping)?

If you have SSH access to S3 you would be best to zip if on there and hand off the destination URL from S3 directly to the front-end as not minimize inter-server traffic (that is not to say you cannot obfuscate the URL via mod_rewrite or a proxy to give the illusion of coming from S1 let's say).

In other words, depending on the setup of these servers will dictate the best solution to achieve this task :)

Milan Adamovsky
Founder and Organizer of the following great tech communities:

On Mon, Jun 18, 2012 at 1:19 PM, Nickalf..... <[address removed]> wrote:
   Hi Fellow Hackers,
                 Looking for some guidance on configuring a project.

        There are three Servers involved: S1, S2 and S3
    The browser viewable user interface is in 9 pages on S1
    When they click their choice(s) they are taken to S2 (running
    Perl scripts on Ubuntu), asked to enter who they are and make a
    couple more choices and then the files they request, which will
    be located on S3 will be zipped together and made available to
    download. (don't ask - that's how the client really wants it.)

        What's the best way to do it or gather those files - I'm
    thinking to use wget ?

        Any suggestions (preferably not rude ones ;) accepted)..

                                                       Nick the Brit
   _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
                          .  .  .  .  .  .  .  .
     Please join my Tech group that meets in the local metro area
   Webcasting and Video Streaming Network:
                          .  .  .  .  .  .  .  .
    Have a video made for your Website, set up a Webinar, or have a
    full blown show to Webcast LIVE. We can help
                          .  .  .  .  .  .  .  .
   Take payments or subscriptions on your Website without the high
   setup & monthly fees of a Merchant Account
                          .  .  .  .  .  .  .  .
   ChargeIt offers a unique & brandable Community Theatre BoxOffice
      See our Demo at
                          .  .  .  .  .  .  .  .
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/

Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Nickalf..... ([address removed]) from How To Javascript (+HTML+CSS).
To learn more about Nickalf....., visit his/her member profile:
Set my mailing list to email me

As they are sent

In one daily email

Don't send me mailing list messages
Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]


Milan Adamovsky
- JavaScript Performance Architect
(862)[masked] - Connect with me - Join the largest jQuery NYC group - Subscribe

"If you want something you've never had, do something you've never done" -- unknown

This Meetup is community funded


Member dues are used to:
  • Cover Meetup costs
  • Encourage more engaged members
  • Provide supplies or equipment
  • Improve Meetups
  • Cover the awesome venue and food!


Members are not required to pay dues, but are encouraged to chip in.

Cancel dues at any time.

Dues are billed each month.

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy