Re: ReturnCode Checking for FTP

2009-05-06 Thread N. Raghavendra
At 2009-05-06T11:44:46-04:00, Eddie Chen wrote: > Reading the ftp commands seems to be better, because it will exit(rc) > if any of "put" or "rename" failed. Perhaps you've already looked at `lftp', http://lftp.yar.ru/ Exit codes of its commands can be used from the shell, e.g., as follows: %

RE: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen
Hi Gary and Lowell, I just download and complied the ncftp and run some ftp, it looks nice. Going to check it out more later on... I like the diagnostics exit return value on the ncftpput/get. Anyway, I have aready modify the tnftp(lukemftp) and started testing some of the batch jobs

RE: ReturnCode Checking for FTP

2009-05-06 Thread Gary Gatten
y, May 06, 2009 10:45 AM To: Eddie Chen Cc: freebsd-questions@freebsd.org Subject: Re: ReturnCode Checking for FTP Eddie Chen writes: > On my AIX and Linux system we don't have fetch installed. I > Googled "fetch", can't found the download URL for "fetch&q

Re: ReturnCode Checking for FTP

2009-05-06 Thread Lowell Gilbert
Eddie Chen writes: > On my AIX and Linux system we don't have fetch installed. I > Googled "fetch", can't found the download URL for "fetch". If you need the same behaviour from your ftp clients on all platforms, you will need to install a different ftp client on at least some of them

RE: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen
05/06/2009 11:08 AM cc Subject

RE: ReturnCode Checking for FTP

2009-05-06 Thread Gary Gatten
uestions@freebsd.org Subject: Re: ReturnCode Checking for FTP Lowell, On my AIX and Linux system we don't have fetch installed. I Googled "fetch", can't found the download URL for "fetch". It seems "fetch(1)" will get f

Re: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen
05/05/2009 Eddie Chen 08:56 PM Subject Re: ReturnCode Checking for FTP

Re: ReturnCode Checking for FTP

2009-05-05 Thread Lowell Gilbert
Eddie Chen writes: >I am looking for a FTP clients that exit with a return code. > >However, last week I download the tnftp and started implementing it. >It's actually trivial to implement this feature. > >If this works, do you think it should be part of the ftp client. I've neve

Re: ReturnCode Checking for FTP

2009-05-05 Thread Eddie Chen
/2009 freebsd-questions@FreeBSD.org 02:23 PM Subject Re: ReturnCode Checking for FTP P

Re: ReturnCode Checking for FTP

2009-05-05 Thread Lowell Gilbert
Eddie Chen writes: > I am looking of implementing FTP return code checking after a command > is issued > If the FTP command return "code" not equal from return code to be > check, EXIT 255. > > Command: "? nnn". Where "nnn" is the return code to be check. I'm afraid that I don

ReturnCode Checking for FTP

2009-05-04 Thread Eddie Chen
Dear Sir, I am looking of implementing FTP return code checking after a command is issued If the FTP command return "code" not equal from return code to be check, EXIT 255. Command: "? nnn". Where "nnn" is the return code to be check. Visit our website at http://www.nys