-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, May 01, 2007 at 11:54:08AM +0100, pic@gavin-egan.com wrote: > Yep the idea being I could send an email with a known subject the account is > pre-made on my server to only deal with those emails and the rules for the > email would only accept emails directly from me . Then have say an automated > download of an ISO (linux distro) for example by putting in a command into > the message. > > I found a command line download program > http://www.snapfiles.com/get/wpd.html > seemed ok but then realised that I could get linux to get files from FTP via > terminal incredibly easily - just not from HTTP (not that I have tried yet) Not via terminal? I think what you want is the wget program, it will get basically anything with http or ftp and has a zillion options to do things like recursively get whole webpages. Basic syntax is wget http://example.com/somefile.dat > Its all just something I am playing with - I don't NEED to be able to do > this but on those occasions when I might find it useful (upload or download > etc) I do that all the time myself. Another program to look up with nohup, short for no hangup. For instance to get some really big iso file: wget http://example.com/foo.iso Works fine, but when you close that telnet, wget recieves the "hangup" signal and quits. nohup wget http://example.com/foo.iso > foo.iso.log & With nohup the nohup "wrapper" traps any hangup signal, so the program will run even without a terminal. The & detaches the command from the terminal so you can do other things. Output is then logged to foo.iso.log Run tail -f foo.iso.log, the -f stands for follow, and you can even see a constantly updating record of what wget is doing. - -- http://petertodd.ca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGNya63bMhDbI9xWQRAh0/AJwKU1x5XnwRZUA93TeyunTXNjVoLgCghHOs wPrXVbZawIMcx3+i8yymBbg= =rnKn -----END PGP SIGNATURE----- -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist