From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fed1rmmtao102.cox.net ([68.230.241.44]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1JSljy-0004P2-00 for ; Fri, 22 Feb 2008 23:11:58 -0500 Received: from fed1rmimpo03.cox.net ([70.169.32.75]) by fed1rmmtao102.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080223041128.LKIS20092.fed1rmmtao102.cox.net@fed1rmimpo03.cox.net> for ; Fri, 22 Feb 2008 23:11:28 -0500 Received: from lnx2.holmesgrown.com ([72.208.237.150]) by fed1rmimpo03.cox.net with bizsmtp id ssB81Y00A3FNzvs0000000; Fri, 22 Feb 2008 23:11:08 -0500 Received: from pillow.holmesgrown.com ([192.168.1.107] ident=8) by lnx2.holmesgrown.com with esmtp (Exim 4.62) (envelope-from ) id 1JSljV-0002d3-1Y for speakup@braille.uwo.ca; Fri, 22 Feb 2008 21:11:29 -0700 Received: from steve by pillow.holmesgrown.com with local (Exim 4.62) (envelope-from ) id 1JSljH-0003Ed-Ng for speakup@braille.uwo.ca; Fri, 22 Feb 2008 21:11:15 -0700 Date: Fri, 22 Feb 2008 21:11:15 -0700 From: Steve Holmes To: speakup@braille.uwo.ca Subject: Re: Automating Bookshare Message-ID: <20080223041114.GA12165@pillow.holmesgrown.com> Mail-Followup-To: speakup@braille.uwo.ca References: <20080221143403.GC16518@gmx.net> <006d01c8750e$59590fa0$4c3b8548@brent827e59cc1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <006d01c8750e$59590fa0$4c3b8548@brent827e59cc1> User-Agent: Mutt/1.5.16 (2007-06-09) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2008 04:11:58 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Yeah, it is the login sequence that isn't working for me. My last attempt to login with a script used two itterations of wget and I specified the wget command with the post variables for email and password but I didn't get any real meaningful feedback to tell me if the login was successful or not. the second pass worked in the sense that it requested the desired file but then I got back the error page telling me that I was never logged in. My ultimate goal was to have a script pull my daily newspaper from bookshare and dump the thing onto an SD card so I could come up to my computer in the morning and grab the card and pop it into my Victor Reader Stream and groove on the day's news.:) I heard people doing that with the Icon small computer so figured there could be a way for us to do it with shell script or something similar and yield the same results. In any case, it would be a fun project if I could get it to work. On Thu, Feb 21, 2008 at 10:49:46PM -0600, Brent Harding wrote: > It sounds like you would have to make the script surf the web like a user > would, going in to the user name box, putting it in, same for password, etc, > but how on earth would you ever get it to do the search and pick the > results? It sounds as hard as making a Windows GUI file converter convert > every file in a directory, given you have nothing but tabbing and > shift-tabbing specified numbers of times and hoping you land on what you > need. > > ----- Original Message ----- > From: "Alex Snow" > To: > Sent: Thursday, February 21, 2008 8:34 AM > Subject: Re: Automating Bookshare > > > > Yeah but the problem with this is it still tries to use http > > authentication, which won't work for bookshare. > > On Wed, Feb 20, 2008 at > > 06:10:27PM -0700, Steve Dawes wrote: > >> Here is a sample lftp script. > >> I have documented it for you to understand what you need to do to make it > >> work. > >> Lines starting with a # are the comments. > >> To call a lftp script do the following: > >> lftp -f SampleScript.lftp > >> > >> SampleScript.lftp > >> # LFTP script to automate a file(s) transfer. > >> > >> # Log into the desired Web site with your userid and password. > >> If you do not need a userid and password, remove the "-u userid,password" > >> from the next line. > >> open -u USERID,PASSWORD URL > >> #UReplace USERID,PASSWORD with your login information. > >> # URL E.G. https//your.domain.com/ (NOTE the "/" at the end of the line > >> is > >> important) > >> > >> # Change the local directory to where you want to store the downloaded > >> files. > >> lcd MyDownloads > >> > >> # Change to the location of the files to be transferred. > >> cd FileLocation/ # (Again the "/" is necessary) > >> > >> # now get the file(s) > >> mget **.FileExtention # (change mget to get for a single file) > >> # to get a directory, use > >> # mirror DirectoryName/ (the "/" is not necessary) > >> > >> # Log out > >> bye > >> > >> # End-of-script > >> > >> If you have any questions, let me know. > >> HTH > >> > >> Steve Dawes > >> Calgary Canada. > >> > >> > >> _______________________________________________ > >> Speakup mailing list > >> Speakup@braille.uwo.ca > >> http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > -- > >> > Other than the fact Linux has a cool name, could someone explain why I > >> > should use Linux over BSD? > >> > >> No. That's it. The cool name, that is. We worked very hard on > >> creating a name that would appeal to the majority of people, and it > >> certainly paid off: thousands of people are using linux just to be able > >> to say "OS/2? Hah. I've got Linux. What a cool name". 386BSD made the > >> mistake of putting a lot of numbers and weird abbreviations into the > >> name, and is scaring away a lot of people just because it sounds too > >> technical. > > -- Linus Torvalds' follow-up to a question about Linux > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHv5ziWSjv55S0LfERA6rSAKDj7Uifpv1zxX/V9h240UR3Q6UIKwCgudfT Xkg/pT41ijfz0RWmGK2ZaU8= =JjP1 -----END PGP SIGNATURE-----