Automating Bookshare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at 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




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux