Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

transfer downloaded binary file from local webserver to external device

 
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to have several locked-down workstations where a simple web app can run and users can't access much else. The machines will download large files from a remote server and need to then be able to detect and transfer the file to a user's plugged-in (USB, etc) or wireless (Bluetooth) device. I would like for the user to be seeing a simple web application, but since I need it to transfer files to a user's device I'm wondering if I should have a local web application running (e.g. on Tomcat) that handles all interaction with the user (except for when contact must be made with the remote web server) and can also somehow kick off some local code that will handle the transfer to the external device. Does this sound reasonable? Could I achieve this in some way other than using an applet? I mean, could the local web server kick off some code to look for the user's device and transfer the file?
 
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic