Re: FTP Automate Shell Script

2006-01-31 Thread Gunter Wambaugh
I have a ftp script that copies files from a solaris box to an as400. Maybe it will work on FreeBSD. (?) nsaFtp.sh: ftp -in < nsaFtpCmds Joppa 21 nsaFtpCmds: user USERNAME PASSWORD cd /QDLS/MM4R5FLR/00500 lcd data mput SYB* dir quit On Jan 29, 2006, at 9:45 PM, Angelo Christou wrote: Hello

Re: FTP Automate Shell Script

2006-01-30 Thread chris
why not try scp instead of ftp ? > Hello. I am using FreeBSD 6.0 and Bash as my shell. I > am following a tutorial to create a shell script to > copy some files. It works perectly exept for 2 points. > > Here is the article - > > http://www.quepublishing.com/articles/printerfriendly.asp?p=170517 >

Re: FTP Automate Shell Script

2006-01-29 Thread Angelo Christou
> > A .netrc file (read the ftp man page) may work for > you. > > > > Cheers > > Gavin > > If you have shell access on the destination host, > you can also try mirror. Thanks for the many suggestions, I will be looking into them all (.netrc doesn't work yet, still trying). I am still curious w

Re: FTP Automate Shell Script

2006-01-29 Thread a non y mouse
Gavin Cameron wrote: A .netrc file (read the ftp man page) may work for you. Cheers Gavin If you have shell access on the destination host, you can also try mirror. -- ``Were you arrested under false circumcisions?'' ___ freebsd-questions@freebsd.or

Re: FTP Automate Shell Script

2006-01-29 Thread Gavin Cameron
A .netrc file (read the ftp man page) may work for you. Cheers Gavin On 1/30/06, Angelo Christou <[EMAIL PROTECTED]> wrote: > > Hello. I am using FreeBSD 6.0 and Bash as my shell. I > am following a tutorial to create a shell script to > copy some files. It works perectly exept for 2 points. > >

FTP Automate Shell Script

2006-01-29 Thread Angelo Christou
Hello. I am using FreeBSD 6.0 and Bash as my shell. I am following a tutorial to create a shell script to copy some files. It works perectly exept for 2 points. Here is the article - http://www.quepublishing.com/articles/printerfriendly.asp?p=170517 Here is the script - #!/bin/sh temp="/tmp/$