Re: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen




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.




   
Lowell Gilbert 
 freebsd-question 
 s-lo...@be-well.i  To 
 lk.org   freebsd-questions@freebsd.org   
cc 
05/05/2009 Eddie Chen ec...@nyx.com  
 08:56 PM  Subject 
   Re: ReturnCode Checking for FTP 
   
 Please respond to 
 freebsd-questions 
   @freebsd.org
   
   




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.

I've never used return codes with ftp(1),
but I have used them with fetch(1), which
is also part of the base system.

Have you tried fetch?  If it doesn't meet
your needs, can you explain why?

--
Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen




Gary,

Yes I am look a retrunCode from  put/get/reanme.
 We run and transmit very large amount of data and jobs thru out the
evening. These jobs runs under Linux and AIX.

   -  This was not an issue on the mainframe, the mainframe ftp client
support return code.

 Currently, we have two solutions,  write  script(s)  to look for 226
and 250 and/or PERL ftp that reads ftp command.
 Reading the  ftp commands seems to be better, because it will exit(rc)
if any of  put or rename failed.

Thanks.


   
Gary Gatten  
 ggat...@waddell. 
 com   To 
   Eddie Chen ec...@nyx.com,   
05/06/2009 freebsd-questions@freebsd.org 
 11:08 AM   cc 
   
   Subject 
   RE: ReturnCode Checking for FTP 
   
   
   
   
   
   




Can I assume you want return codes to know if the file was transferred
correctly?  Several years ago I was involved in architecting a
middleware app for file/data exchange.  For ftp delivery (and others)
we'd check the file size locally, put the file, then check the file size
on the remote side.  Not fool-proof, such as CRC or Hash of somekind,
but pretty good.  Use bin mode for everything.  Also, maybe as part of
the file record itself you can embed a hash and have the client check
this when processing the file on their end.

Unfortunately when using ftp you never know what the ftp server
supports, so unless you can dictate supported ftp servers, you can't
get too fancy.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Eddie Chen
Sent: Wednesday, May 06, 2009 9:24 AM
To: freebsd-questions@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 file(s)... We mostly push the file(s) to
the clients.  Thanks.






Lowell Gilbert

 freebsd-question

 s-lo...@be-well.i
To
 lk.org   freebsd-questions@freebsd.org


cc
05/05/2009 Eddie Chen ec...@nyx.com

 08:56 PM
Subject
   Re: ReturnCode Checking for FTP



 Please respond to

 freebsd-questions

   @freebsd.org









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.

I've never used return codes with ftp(1),
but I have used them with fetch(1), which
is also part of the base system.

Have you tried fetch?  If it doesn't meet
your needs, can you explain why?

--
Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the

reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in
0in 1.0pt 0in

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.

   Thanks




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ReturnCode Checking for FTP

2009-05-05 Thread Eddie Chen




Lowell,

   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.

   Thanks.




   
Lowell Gilbert 
 freebsd-question 
 s-lo...@be-well.i  To 
 lk.org   Eddie Chen ec...@nyx.com  
cc 
05/05/2009 freebsd-questions@FreeBSD.org   
 02:23 PM  Subject 
   Re: ReturnCode Checking for FTP 
   
 Please respond to 
 freebsd-questions 
   @FreeBSD.org
   
   




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 don't understand your question.
Are you looking for an FTP client that will provide specific return
codes for specific errors?
Are you looking for the error codes for a specific FTP client?
Are you looking for help scripting your use of an FTP client?

--
Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD pxe

2007-04-20 Thread Eddie Chen
I am in the process of setting up a FreeBSD pxe server using the the 
instructions from 
http://people.freebsd.org/~alfred/pxe/en_US.ISO8859-1/articles/pxe/article.html,
 and in step 3 (bootstrap setup), the links to kern.flp and mfsroot.flp floopy 
images are currently dead. Can you tell me where I can get a copy of those two 
files?  Thank You.
 
-- Eddie Xu Chen
UNIX Systems Administrator
Email: [EMAIL PROTECTED]
Phone: (919) 531-1993
Cell: (919) 601-0933
sas ... The Power to Know
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]