Re: non-interactive FTP to transfer file

2002-08-31 Thread Todd Merriman
>From: "Nick Lindsell" <[EMAIL PROTECTED]> > >> Or check out rsync - it will only backup changes you make in your >> directory and can be run as unattended cronjob to rsync server. >> I've had great success with it. > >by coincidence this same topic was disussed today in the UYLUG (Uruguayan >Linu

Re: non-interactive FTP to transfer file

2002-08-29 Thread loophole
# this is just one line ncftpput -u username -p password remote_machine /home/username/ local_file2bcopied hth lh = `When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, *for free*".' - Linus Torv

Re: non-interactive FTP to transfer file

2002-08-28 Thread R P Herrold
On Wed, 28 Aug 2002, juaid wrote: > I believe it's not possible with ftp, but with ncftp wrong ... sanitized example from live production follows: -- Russ Herrold #!/bin/sh # # The HOME variable is needed by ftp to find .netrc

Re: non-interactive FTP to transfer file

2002-08-28 Thread juaid
From: "Nick Lindsell" <[EMAIL PROTECTED]> > Or check out rsync - it will only backup changes you make in your > directory and can be run as unattended cronjob to rsync server. > I've had great success with it. by coincidence this same topic was disussed today in the UYLUG (Uruguayan Linux Users

Re: non-interactive FTP to transfer file

2002-08-28 Thread Francisco Neira
Reuben D. Budiardja wrote: > Hi, > I am trying to use FTP to backup my files to another machine. I want this to > be automated via cron, so I need a 'non-interactive' way. What can I use to > do this, and how? > I've looked through the man page for ftp and ncftp, but have not found the > non-i

Re: non-interactive FTP to transfer file

2002-08-28 Thread juaid
I believe it's not possible with ftp, but with ncftp juaid - Original Message - From: "dbrett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 28, 2002 12:13 PM Subject: WAS: non-interactive FTP to transfer file > Does anybody know how to do recursive copying with

Re: non-interactive FTP to transfer file

2002-08-28 Thread Monte Milanuk
On Wed, 28 Aug 2002 10:48:58 -0400 "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to use FTP to backup my files to another machine. I want this to > be automated via cron, so I need a 'non-interactive' way. What can I use to > do this, and how? > I've looked through the m

RE: non-interactive FTP to transfer file

2002-08-28 Thread Scott
How about ncftpget, a seperate program. I use it to back up my web directories nightly via cron. You can set up a login file or just do a script with the command line options. man ncftpget. At 04:57 PM 8/28/2002 +0200, you wrote: > > I've looked through the man page for ftp and ncftp, bu

Re: non-interactive FTP to transfer file

2002-08-28 Thread Nick Lindsell
At 11:08 28/08/2002 -0400, you wrote: Or check out rsync - it will only backup changes you make in your directory and can be run as unattended cronjob to rsync server. I've had great success with it. >A different approach would be to use expect. You will have to write the >script. > >david >

RE: non-interactive FTP to transfer file

2002-08-28 Thread Skuse, Phil
Make an input file called script.ftp (or something similar) containing the commands that you would type into ftp: quote user userid quote pass password lcd cd bin mput * bye Then in your script put: ftp -inv remote_host < script.ftp I always tee the result into a file and grep for the numb

Re: non-interactive FTP to transfer file

2002-08-28 Thread Reuben D. Budiardja
Thanks. ncftpput is what I need, but you point me to that direction :). Reuben D. B On Wednesday 28 August 2002 10:43 am, Matthew Boeckman wrote: > try > man ncftpget > > Reuben D. Budiardja wrote: > > Hi, > > I am trying to use FTP to backup my files to another machine. I want this > > to be au

Re: non-interactive FTP to transfer file

2002-08-28 Thread dbrett
A different approach would be to use expect. You will have to write the script. david On Wed, 28 Aug 2002, juaid wrote: > From: "Reuben D. Budiardja" <[EMAIL PROTECTED]> > > I am trying to use FTP to backup my files to another machine. I want this > to > > be automated via cron, so I need a 'n

RE: non-interactive FTP to transfer file

2002-08-28 Thread Banze, Andreas
> I've looked through the man page for ftp and ncftp, but have > not found the > non-interactive way, so that I can just put in one command to > copy files. you want to checkout scp -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat

Re: non-interactive FTP to transfer file

2002-08-28 Thread juaid
From: "Reuben D. Budiardja" <[EMAIL PROTECTED]> > I am trying to use FTP to backup my files to another machine. I want this to > be automated via cron, so I need a 'non-interactive' way. What can I use to > do this, and how? > I've looked through the man page for ftp and ncftp, but have not found

Re: non-interactive FTP to transfer file

2002-08-28 Thread Matthew Boeckman
try man ncftpget Reuben D. Budiardja wrote: > Hi, > I am trying to use FTP to backup my files to another machine. I want this to > be automated via cron, so I need a 'non-interactive' way. What can I use to > do this, and how? > I've looked through the man page for ftp and ncftp, but have not