Re: FTP command line syntax

2004-09-28 Thread Dan Nelson
In the last episode (Sep 28), Steve Suhre said: I need to set up a cron job that will fetch a file using ftp and a password. I've tried several versions of the commands as described in the man page and the Auto-Fetch section but I'm getting an error that makes me think I'm missing something...

Re: FTP command line syntax

2004-09-28 Thread Gary Hayers
Steve Suhre wrote: I need to set up a cron job that will fetch a file using ftp and a password. I've tried several versions of the commands as described in the man page and the Auto-Fetch section but I'm getting an error that makes me think I'm missing something... If I use the suggested

Re: FTP command line syntax

2004-09-28 Thread Benjamin Walkenhorst
On Tue, 28 Sep 2004 09:04:34 -0600 Steve Suhre [EMAIL PROTECTED] wrote: If I use the suggested syntax: ftp ftp://user:[EMAIL PROTECTED]/path I get:Can't locate or login to host `user' It looks like ftp is not aware of the man page and wants the server where the login

Re: FTP command line syntax

2004-09-28 Thread Steve Suhre
Thanks, wish I could say the same I'm running 4.6 on this machine. The man pages in 4.6 give the syntax so I assumed it would work. I tried fetch also and got a parsing error. I'll try grabbing a newer version of ftp and/or fetch and see if that works. At 09:12 AM 9/28/2004, you wrote:

RE: FTP command line syntax

2004-09-28 Thread JohnsoBS
Try ncFTP. GREAT commandline client with resume and more features.. -Original Message- From: Steve Suhre [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 5:42 PM To: [EMAIL PROTECTED] Subject: Re: FTP command line syntax Thanks, wish I could say the same I'm running

RE: FTP command line syntax

2004-09-28 Thread Steve Suhre
PM To: [EMAIL PROTECTED] Subject: Re: FTP command line syntax Thanks, wish I could say the same I'm running 4.6 on this machine. The man pages in 4.6 give the syntax so I assumed it would work. I tried fetch also and got a parsing error. I'll try grabbing a newer version of ftp and/or fetch

Re: FTP command line syntax

2004-09-28 Thread Dan Nelson
In the last episode (Sep 28), Steve Suhre said: Thanks to all, ncftp worked with a .netrc file. I'm good to go. For strictly batch purposes, ncftpget lets you specify everything on the commandline without requiring a .netrc, and returns a more specific error-code that helps you narrow down

Re: FTP command line syntax

2004-09-28 Thread Steve Suhre
Thanks Dan, I tried that and it wouldn't take. The remote server refused the login info using -u and -p. I think this will work for my purposes, the server here needs to download just one file each day. If I run into trouble I'll work on the command line thing some more... At 11:02 AM