The Artima Developer Community
Sponsored Link

Java Answers Forum
Applet Download Manager

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Steve Schooler

Posts: 17
Nickname: zugzwang
Registered: Aug, 2004

Applet Download Manager Posted: Jul 27, 2006 8:08 PM
Reply to this message Reply
Advertisement
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?

Topic: singleton performance Previous Topic   Next Topic Topic: Q about expected behavior of FileHandler

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use