Re: ftpd vs. lukemftpd (forcing FTP-uploaded ...)



Mikhail Teterin wrote:
понеділок 17 липень 2006 13:51, David J. Orman написав:
The stock ftp server?

BTW, what is the stock ftp server on 6-stable? I see two -- ftpd and lukemftpd and both are installed...

Is there a web-page with comparision somewhere, perhaps? Thanks!

-mi
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"


I am not aware of a stock FTP server that can accomplish what you are asking for, at least without modifying the source or writing a plug-in of some sort.

You may have already thought of this, but my 2-cents is:

If you don't mind waiting until the file finishes transferring to examine it, you could 1) turn on verbose logging (ftpd -ll for stock ftpd; other ftp servers have better logging though), 2) log directly to a named pipe, 3) attach a simple script at the other end that determines what the uploaded file is and deletes it accordingly.

I would not recommend using ftpd for this; as I recall, and somebody correct me if I am wrong, it does not always log the complete path to an uploaded file. I'd suggest ProFTPd instead; it's CustomLog feature allows you to specify your own log format (like Apache). This means you can make a convenient string to regex, such as "date|user|action|file".

Good luck,
James


--
James Ryan
Infinity Pro Sports
http://www.infinityprosports.com
em: james@xxxxxxxxxxxxxxxxxxxxx
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: ftpd vs. lukemftpd (forcing FTP-uploaded ...)
    ... I am not aware of a stock FTP server that can accomplish what you are asking for, at least without modifying the source or writing a plug-in of some sort. ... If you don't mind waiting until the file finishes transferring to examine it, you could 1) turn on verbose logging (ftpd -ll for stock ftpd; other ftp servers have better logging though), 2) log directly to a named pipe, 3) attach a simple script at the other end that determines what the uploaded file is and deletes it accordingly. ...
    (freebsd-net)
  • ftp Language settings
    ... I have a language problem with my ftpd on an aix-system. ... When connecting to the ftp server via IE-explorer the explorer shows weired ... Now we changed LANG in the /etc/environment to en_US - no effect ...
    (comp.unix.shell)
  • RE: anonymous ftp passwd
    ... On Thu, 8 Jan 2004, Tomas Palfi wrote: ... My ftp server is started via /etc/inetd.conf with the command ... ftpd -lS ... >> service is powered by MessageLabs. ...
    (freebsd-questions)
  • Re: out-of-the-box ftp server w/ fbsd 5.3??
    ... It's not a third party FTP server, like wu-ftpd, but an organic part of ... the FreeBSD core. ... The ftpd utility appeared in 4.2BSD. ... added in WIDE Hydrangea IPv6 stack kit. ...
    (comp.unix.bsd.freebsd.misc)