FTP Macro

Chuck_Sterling csterlin at zianet.com
Mon Oct 25 02:10:33 UTC 2004


Timothy Payne wrote:

> It will log in but not run the commands, I've tried all kinds of
> changes
> but the samples in my book and on the web say this should work.  I
> just get ftp> after the login and it sits there taunting me.
> 
> machine mydomain.com login name password XXXXXX macdef macro-name
> cd /backup
> lcd /home/timothy/backup
> put *.gz.gpg
> quit
> 
> 
> 
> Any ideas would stop me from pulling out my hair :-)
> 
> Tim...
> 

If you're not using the .netrc file, you should have a look at how it's
used. Once that is set up right, you can probably just echo the
commands to ftp with a pipe. I haven't done this with Fedora or other
Linux distributions, but do so routinely with Solaris...

Chuck




More information about the fedora-list mailing list