This week's book giveaway is in the Testing forum.
We're giving away four copies of Data Structures the Fun Way: An Amusing Adventure with Coffee-Filled Examples and have Jeremy Kubica on-line!
See this thread for details.
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Applet Download Manager

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Website1 (et al) redirects to Website2 for login, granting session authorization through cookie (presumably). GetRight (download manager) unable to send cookie back correctly. I've had trouble internet-researching getting/sending cookie (or http re-direction) from java stand-alone app. Are there internet resources on this? Since this is a client side task, does this mean it is not a sub-topic of J2EE?

Afraid that even if I defeat Website1, my stand-alone app won't be generic against websites that try to discourage automated downloads? Comments? Anyway, I am able to use Firefox' tabbed browsing to login then invoke self-written/signed applet to automate Website1 downloads, and suspect that this will work generically.

However I'd prefer to not re-invent the wheel (code my own download mgr). Can MyApplet.getRuntime().exec("Getright.Exe") (et al) invoke GetRight as a Windows XP (rather than Dos) application? Assuming so, can this invocation allow GetRight to (somehow) "inherit" the session authorization that MyApplet receives as a Firefox tab?

Assuming GetRight invocation unworkable, are there http-methods analogous to File.list(), File.isDirectory() that can be used against a website that offers no FTP access? Assuming not, are there specific java methods, coding samples, or 3rd party freeware-packages that facilitate "scraping" html-s for links (as GetRight's Browse feature does)?

Somewhat off topic : instead of launching GetRight (et al) from the applet, can GetRight (or other html scraping download manager) be launched (with "session inheritance") from Firefox?
 
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic