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.
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: