-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Kramer wrote:
>I missed the beginning of this thread, but if you're just trying to
>automatically ftp a file from a server, look at wget.
>
>wget ftp://other.server.com/path/to/file
>Many options. Very powerful.
wget seems to have trouble wi
On Thu, 28 Mar 2002, fred smith wrote:
> On Thu, Mar 28, 2002 at 12:27:21PM -0600, Ed Wilts wrote:
> > On Wed, Mar 27, 2002 at 12:06:10PM +, Alan Peery wrote:
> > >
> > > I don't know if you can drive ftp with a single command line, something
> > > like
> > >
> > > echo "get foo" > fred
>
On Thu, Mar 28, 2002 at 12:27:21PM -0600, Ed Wilts wrote:
> On Wed, Mar 27, 2002 at 12:06:10PM +, Alan Peery wrote:
> >
> > I don't know if you can drive ftp with a single command line, something
> > like
> >
> > echo "get foo" > fred
> > ftp -ine < fred
> > echo $?
>
> You've got a few ch
On Wed, Mar 27, 2002 at 12:06:10PM +, Alan Peery wrote:
>
> I don't know if you can drive ftp with a single command line, something
> like
>
> echo "get foo" > fred
> ftp -ine < fred
> echo $?
You've got a few choices. ncftpls will give you a directory listing on the
remote server. ncftp
Joao Borsoi Soares wrote:
>Thanks Francisco, that worked. But I still don't know how to check out if a
>specific file exists in the remote server...
>
I don't know if you can drive ftp with a single command line, something
like
echo "get foo" > fred
ftp -ine < fred
echo $?
If the file "foo" do
Thanks Francisco, that worked. But I still don't know how to check out if a
specific file exists in the remote server...
Joao.
Francisco Neira wrote:
> Not so difficult, I do it to update a database from one server to other.
>
> ftp -ine < /home/me/my_ftpscript
>
> and my_ftpscript contains:
>
Not so difficult, I do it to update a database from one server to other.
ftp -ine < /home/me/my_ftpscript
and my_ftpscript contains:
open ftp.mydomain.com
user usernam passwd
type binary
get filename1 filename1
...
get filenameN filenameN
close
Hope this helps
Francisco
>>> [EMAIL PROTECT
Rick, I think I was not clear. I know about the command rename... I just
don't know how to connect throught script sending login, password, and
interacting with the ftp server...
Joao.
Rick van der Linde wrote:
> >Hello list,
> >
> >I need help with some scripts I must do. I'm not used to scrip
>Hello list,
>
>I need help with some scripts I must do. I'm not used to script
>programming so I don't know the possibilities. In fact I need scripts
>for uploading, downloading and renaming archives throught FTP
>connection. For upload/download, I thought of using wget. The most
>problem will b