Re: ftp get file
From: Yakov (ybaratt@aol.com)
Date: 04/04/03
- Next message: Sven Mascheck: "Re: Redirecting output from "kill" command?"
- Previous message: Barry Margolin: "Re: ftp get file"
- In reply to: Barry Margolin: "Re: ftp get file"
- Next in thread: Barry Margolin: "Re: ftp get file"
- Reply: Barry Margolin: "Re: ftp get file"
- Reply: Georgi Manev: "Re: ftp get file"
- Reply: Markku Ojala: "Re: ftp get file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: ybaratt@aol.com (Yakov) Date: 4 Apr 2003 04:40:36 -0800
Barry Margolin <barry.margolin@level3.com> wrote in message news:<Hx4ja.33$jn5.1295@paloalto-snr1.gtei.net>...
> In article <ce48b9b8.0304031510.40f36b45@posting.google.com>,
> Yakov <ybaratt@aol.com> wrote:
> >I conected from Unix to WinNT server as a FTP client and tried to use
> >Get method to copy a file.
> >When I did this from command line, it works fine, but when I put the
> >same command into a shell file, I got a message:
> >"usage: ftp host-name [port]",
> >but ftp connection already established and from command line it is
> >working.
> > Did anybody had a simular problem?
>
> Post the script. It's impossible to tell what you're trying to do from
> this vague description.
Well, This is my script
In first file I wrote:
ftp 216.139.143.179
It connected without asking a password, it is in .netrc file.
second file has script:
ftp get /odbclog/w3svc5/filename.log /monitor/webstat/ filename.log
and after appears >"usage: ftp host-name [port]",
and if after making connection by first file I'm entering the same
code manually from command line, it works.
Thanks
Yakov
- Next message: Sven Mascheck: "Re: Redirecting output from "kill" command?"
- Previous message: Barry Margolin: "Re: ftp get file"
- In reply to: Barry Margolin: "Re: ftp get file"
- Next in thread: Barry Margolin: "Re: ftp get file"
- Reply: Barry Margolin: "Re: ftp get file"
- Reply: Georgi Manev: "Re: ftp get file"
- Reply: Markku Ojala: "Re: ftp get file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|