My apologies for the delay in responding. Certain events that were out of my hand kept me from it.
However it would be most things related to the user session: source host, port, virtualhost that was connected, user, etc. Permissions and directory I do assume are known at this point. The point would be to apply some heuristics based on this information. Is this still possible then from the FSIO API functions? I wasn't entirely sure about this. Many thanks in advance, Joris -----Original Message----- From: TJ Saunders [mailto:[email protected]] Sent: vrijdag 22 november 2013 17:28 To: Joris van den Oever Cc: [email protected] Subject: Re: [Proftpd-devel] Module to stream files to external program instead of saving to disk > For a system I'm working on I'm hoping to intercept the writing of > files so it can be processed by a given other program. > Because I am hoping to pass along some session parameters with the > file hooking into the FSIO API probably isn't the right place to do this. > Thus I suspect that using a module to implement our own command > handlers is the right way to go here. The FSIO API's write() callback would definitely be the right place for what you want to do; anywhere else might see more data than just what is written to disk. What sort of other session parameters are you hoping to pass, along with the data being written? Cheers, TJ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Much of your pain is self-chosen. -Kahlil Gibran ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ ProFTPD Developers List <[email protected]> https://lists.sourceforge.net/lists/listinfo/proftp-devel
