[CentOS] Capturing ftp reponses

2011-06-02 Thread James B. Byrne
I am writing a script to automatically connect via ftp from a CentOS-5 host to one of our older (non-*nix OS) systems. The only common protocol that the remote host supports is ftp. What I want to do is to capture the initial response that comes back from that host before the user credentials

[CentOS] Capturing ftp reponses

2011-06-02 Thread R P Herrold
On Thu, 2 Jun 2011, James B. Byrne wrote: tell me how I can capture and log the initial response to the ftp connection? man expect It is usually straightforward to capture a transcript of a session, and then abstract away the needed prompts and responses (The ORA 'Exploring Expect' by Don

Re: [CentOS] Capturing ftp reponses

2011-06-02 Thread Ljubomir Ljubojevic
R P Herrold wrote: On Thu, 2 Jun 2011, James B. Byrne wrote: tell me how I can capture and log the initial response to the ftp connection? man expect It is usually straightforward to capture a transcript of a session, and then abstract away the needed prompts and responses (The ORA