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
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
>
> > 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
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
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.
>
>
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/$