LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[CLUG] Batch ftp

[CLUG] Batch ftp

Donncha O Caoimh donncha.ocaoimh at tradesignals.com
Thu Jan 20 09:19:21 GMT 2000


You could look at lftp or ncftp. I seem to remember catting a file of
commands to ncftp to upload some files at one stage.
Or, use expect to automate it.
Run "autoexpect" and do the upload as normal, then CTRL-D and you have
all your commands stored in a file. You'll probably have to edit the
resulting expect file, but that's fairly trivial.
"man 5 expect" I think.


Donncha.


Peter Flynn wrote:
> 
> Have anyone got a pointer to a program which will perform FTP
> under script control (eg from a cron job)?
> 
> I need to retrieve files on a timed basis, and it's all been done on a
> VAX so far, where a .com file can easily pass subcommands to FTP. But
> regular Unix FTP only accepts command input from the tty: you can't
> redirect it to come from stdin.
> 
> I've tried the W3C commandline retriever (flaky); I've tried Lynx
> (uncontrollable); and dog only does HTTP not FTP. Ideas?




More information about the Cork mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell