dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Download images from server to local filesystem

  1. #1
    Join Date
    Nov 2009
    Posts
    2

    Download images from server to local filesystem

    Hi guys. This is a tricky one.

    I'm have some images on a site that I want a user to download to their sdcard.
    i have urls for the images (e.g. http://eg.com/image1.jpg) and i have a webpage with a button.

    when the user clicks the button, i want it to download those images to an sdcard in their pc (hopefully they can select where using a windows open file type box).

    i think this may be quite difficult due to security with browsers and Iv looked into activex object (but cant get it to save to my filesystem).

    if this cant be done, perhaps i could do it on the server-side using php and have the user use filezilla to download the images. obviously this is not a very elagant solution.

    any ideas on how i might approach this problem?

    thanks you
    ads

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Whether you use JavaScript or a server-side language makes no difference; it is the users choice where the file is saved.

  3. #3
    Join Date
    Nov 2009
    Posts
    2
    Ok, do you know how I might implement this?

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles