<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ftp log file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459380#M848520</link>
    <description>You can turn of detailed ftp logging on the server by modifying /etc/inetd.conf, the ftpd line as follows:&lt;BR /&gt; &lt;BR /&gt;ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 027 -i -o&lt;BR /&gt; &lt;BR /&gt;The -l will log in syslog but the input and output logs will be found in the same directory (/var/adm/syslog/) in the file: xferlog. See the man page for xferlog.</description>
    <pubDate>Mon, 10 Jan 2005 09:12:33 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2005-01-10T09:12:33Z</dc:date>
    <item>
      <title>Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459378#M848518</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;Is there any log file when what the files get or put after using ftp.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 10 Jan 2005 07:25:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459378#M848518</guid>
      <dc:creator>Achilles_2</dc:creator>
      <dc:date>2005-01-10T07:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459379#M848519</link>
      <description>If you log ftp traffic (check /etc/inetd.conf to see if ftpd has the -l option), it is logged to /var/adm/syslog/syslog.log).</description>
      <pubDate>Mon, 10 Jan 2005 07:33:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459379#M848519</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-01-10T07:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459380#M848520</link>
      <description>You can turn of detailed ftp logging on the server by modifying /etc/inetd.conf, the ftpd line as follows:&lt;BR /&gt; &lt;BR /&gt;ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 027 -i -o&lt;BR /&gt; &lt;BR /&gt;The -l will log in syslog but the input and output logs will be found in the same directory (/var/adm/syslog/) in the file: xferlog. See the man page for xferlog.</description>
      <pubDate>Mon, 10 Jan 2005 09:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459380#M848520</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-01-10T09:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459381#M848521</link>
      <description>And be sure to signal inetd that changes have been made to inetd.conf:&lt;BR /&gt; &lt;BR /&gt;inetd -c</description>
      <pubDate>Mon, 10 Jan 2005 09:13:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459381#M848521</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-01-10T09:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459382#M848522</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;My understanding is that -1 turns on the logging (and goes to /var/adm/syslog/syslog.log), but if you use the -i it logs all incoming files to the /var/adm/syslog/xferlog.  -o logs all outgoing files to /var/adm/syslog/xferlog.  If you do not do the -o or -i all transfers (and cd's etc) go to /var/adm/syslog/syslog.log.</description>
      <pubDate>Mon, 10 Jan 2005 10:32:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459382#M848522</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-01-10T10:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459383#M848523</link>
      <description>Hi Achilles,&lt;BR /&gt;&lt;BR /&gt;you should find it in /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;or according to  Gary's options in &lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog/xferlog ;-)&lt;BR /&gt;&lt;BR /&gt;rgds Jan&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2005 11:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459383#M848523</guid>
      <dc:creator>Jan Sladky</dc:creator>
      <dc:date>2005-01-10T11:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459384#M848524</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;As others have mentioned here to track the ftp the log option need to be enabled on the /etc/inetd.conf file with a -l option and it will write on /var/adm/syslog/syslog.log.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Mon, 10 Jan 2005 11:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459384#M848524</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2005-01-10T11:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459385#M848525</link>
      <description>The -l option logs authentication and session start/stop times but does not log actual filenames that were transferred. You can easily test this by changing inetd.conf, run inetd -c to update the daemon, then transfer a file and look at syslog.log. Now add the -i -o options and look at xferlog where you'll see the actual filename and filesize (among other pieces of info).</description>
      <pubDate>Mon, 10 Jan 2005 13:17:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459385#M848525</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-01-10T13:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459386#M848526</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;My inetd.conf has the following &lt;BR /&gt;&lt;BR /&gt;ftpd -v -l -L &lt;BR /&gt;&lt;BR /&gt;And I see gets (RETR) and puts (STOR) in my /var/adm/syslog/syslog.log file.&lt;BR /&gt;&lt;BR /&gt;Now that I look at this, it appears that it's due to the -L (logs all commands).</description>
      <pubDate>Mon, 10 Jan 2005 14:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459386#M848526</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-01-10T14:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459387#M848527</link>
      <description>Oops, you're correct. I have been using -l (lowercase) for years and missed the -L that was added with Wu-ftpd to log the filenames in syslog. If you need the file size and additional details, the -i -o options will still provide these details.</description>
      <pubDate>Mon, 10 Jan 2005 15:02:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459387#M848527</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-01-10T15:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp log file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459388#M848528</link>
      <description>Achilles -&lt;BR /&gt; We commonly script our ftp jobs and capture the output to a file. i.e.&lt;BR /&gt;#! /bin/ksh                                   &lt;BR /&gt;ftp -n -v &amp;lt;&amp;lt; endl &amp;gt;&amp;gt; /home/someone/work/ftp.log&lt;BR /&gt;open some_server                           &lt;BR /&gt;user username userpassword                              &lt;BR /&gt;get some_file.txt (or put)                                            &lt;BR /&gt;quit                                          &lt;BR /&gt;endl                                          &lt;BR /&gt;&lt;BR /&gt;As you can see, this is a simplified ftp job that will log all action to ftp.log in somone's home directory. Instead of harcoding in the user name and password, one should use a .netrc file.&lt;BR /&gt;Search on .netrc and you will find the explanation of how this will eliminate the need for username and password.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;dl</description>
      <pubDate>Mon, 10 Jan 2005 18:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-log-file/m-p/3459388#M848528</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2005-01-10T18:01:13Z</dc:date>
    </item>
  </channel>
</rss>

