Can anyone provide an insight into this?
We want to automate the handling of incoming files. We have something
hacked now, which is a hard coded singleton in the ftp server code that
broascasts events, but looking for the correct way to do this.
Mark
Mark Proctor wrote:
Is there an existing way to hook into an upload event so I can
reforward a file as an event? I've looked at the ftplet and while it
emits events when the upload is finished, it does not expose the
actually file it uploaded only a stream. I'm guessing if I re-opened
the stream it would either fail or re-stream it from the client, both
undesired effects.
If this is currently not possible I'm thinking of either adding a new
param to the event that passes the File, or introduce a whole new event.
Mark