search for: logging_fil

Displaying 1 result from an estimated 1 matches for "logging_fil".

Did you mean: logging_file
2011 Jun 02
1
Capturing ftp reponses
...is to capture the initial response that comes back from that host before the user credentials are passed and log this information. I cannot seem to hit upon the right set of redirects to make this happen. In my script I invoke ftp thus: ftp -un "$TARGET_HOST" << EOS >> ${LOGGING_FILE} 2>&1 user $LOGON dir quit EOS When I connect to the host via ftp interactively from a session then I see this: Connected to host.domain.tld. 220 HP ARPA FTP Server [A0012H15] (C) Hewlett-Packard Co. 2000 [PASV SUPPORT] Remote system type is MPE/iX. However, the first line that I find in...