Re: ReturnCode Checking for FTP

2009-05-07 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: % set

Re: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen
Checking for FTP Please respond to freebsd-questions @freebsd.org

RE: ReturnCode Checking for FTP

2009-05-06 Thread Gary Gatten
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 file(s)... We mostly push the file(s) to the clients. Thanks

RE: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen
Subject RE: ReturnCode Checking for FTP

Re: ReturnCode Checking for FTP

2009-05-06 Thread Lowell Gilbert
Eddie Chen ec...@nyx.com 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

RE: ReturnCode Checking for FTP

2009-05-06 Thread Gary Gatten
:45 AM To: Eddie Chen Cc: freebsd-questions@freebsd.org Subject: Re: ReturnCode Checking for FTP Eddie Chen ec...@nyx.com 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

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

Re: ReturnCode Checking for FTP

2009-05-05 Thread Lowell Gilbert
Eddie Chen ec...@nyx.com 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

Re: ReturnCode Checking for FTP

2009-05-05 Thread Eddie Chen
Re: ReturnCode Checking for FTP Please respond to freebsd-questions

Re: ReturnCode Checking for FTP

2009-05-05 Thread Lowell Gilbert
Eddie Chen ec...@nyx.com 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.

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.nyse.com