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

Re: FTP Macro



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


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