🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7341

Re: how to automate dowloading in java

#7341
From: Rich Wilkman
Date: Wed, 27 Jun 2001 16:55
88 lines
4805 bytes
AZ:

Java is excellent at net programming.  That isn't what you are asking
for, though.  You are asking Java to talk to and through a program that
isn't written in Java on an OS that doesn't allow a Java VM the same
level of rights as the OS itself.  On top of that it sounds like you are
trying to drive someone elses code which probably isn't even listening
for events outside it's own little world which may just be CGI scripts
or ASP pages.

Just because you access something through the browser doesn't mean you
can do the same thing via a program.  In the case of a bank the
validation process is usually pretty stringent on who and how you get
in.  That's something you'd probably still need to navigate by hand. 
This is a good thing as it is trivial to get enough personal info on
someone to write a 'bot to whack at a bank front end and slam passwords
at it until you get through.

-Rich

az wrote:
> 
> I am quite surprised, I thought Java is very good at Internet
> programming. My thinking is that there must be some
> Java network i/o class libraries that could be used to develop
> such a program but I don't know which classes would be the
> best bet for that task.
> 
> "Rich Wilkman" <richw@formlessvoid.com> wrote in message
> news:3B38F81B.CDD6C591@formlessvoid.com...
> > AZ:
> >
> > The trouble is that Java is horrible at driving anything that is native
> > code (like a Browser or some other program).
> >
> > Offhand, I can't see a way to do it that wouldn't cease to function if,
> > for example, the owner of the website changed the layout of the page.
> > If it was *your* site you could take the steps necessary to make it
> > addressible to some outside process, but that wouldn't be very secure.
> >
> > You could ask the bank if there is a way for you to call "whatever" they
> > call when you execute the query.  Heck, that info may be right in your
> > browser address bar.  You'd need to be able to change that on the fly
> > somehow.
> >
> > -Rich
> >
> > az wrote:
> > >
> > > I need need a java application that would accomplish
> > > the tasks I mentioned before. It can be java program
> > > that drioves the browser if this the way to do it or it
> > > can be something else or something very close to it
> > > with source code available. I am looking for help so that
> > > I can write the java program myself that would accomplish the tasks
> > >
> > > "Rich Wilkman" <richw@formlessvoid.com> wrote in message
> > > news:3B38B76C.5CD128BF@formlessvoid.com...
> > > > AZ:
> > > >
> > > > Do you need a Java program that drives a Browser (IE, Netscape, Opera,
> > > > ???) or do you need a Java program that drives another Java program?
> > > >
> > > > -Rich
> > > >
> > > > az wrote:
> > > > >
> > > > > I hope some one can help.
> > > > >
> > > > > I have the following scenario:
> > > > >
> > > > > I log into my bank account and type in my password. Then
> > > > > I am presented with a menu choices (web page). I click
> > > > > on "statements" button. Another menu screen comes with
> > > > > a drop down list which is a list of different dates for me to
> > > > > chose from to download a textfile that shows account transactios
> > > > > for that day. One by one I select many different days to download
> > > > > bunch of files.
> > > > >
> > > > > Now the question is:  Is it possible to write a Java program
> > > > > that will automate the above task i.e. the Java program
> > > > > will log into the bank account and take all the above steps
> > > > > in the program. All the user need to do is to run the program.
> > > > >
> > > > > If so then how?
> > > > >
> > > > > By the way the above log in and menu choices that are
> > > > > presented is itself a Java applet. Does this make a difference?
Technical Details
Message-ID: <3B3A0FEF.2BDC309D@formlessvoid.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3b383970$1_2@dnews> <3B38B76C.5CD128BF@formlessvoid.com> <3b38ec58$1_1@dnews> <3B38F81B.CDD6C591@formlessvoid.com> <3b394440$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,654882c71efb035e
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-27 10:18:19 PST
Message-ID: <3B3A0FEF.2BDC309D@formlessvoid.com>
Date: Wed, 27 Jun 2001 09:55:11 -0700
From: Rich Wilkman <richw@formlessvoid.com>
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: how to automate dowloading in java
References: <3b383970$1_2@dnews> <3B38B76C.5CD128BF@formlessvoid.com> <3b38ec58$1_1@dnews> <3B38F81B.CDD6C591@formlessvoid.com> <3b394440$1_1@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 208.236.69.60
X-Trace: dnews 993660914 208.236.69.60 (27 Jun 2001 09:55:14 -0700)
Lines: 88
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews