The FTP BC does not provide such a behavior by itself.
Maybe commons-net can provide that, but I doubt
(it's more a low level library imo).
Anyway, this would be nice and could be used with
the filter on the PollerEndpoint easily.
Feel free to raise a JIRA and attach a patch when you have
one :-)

On 2/7/07, Gert Vanthienen <[EMAIL PROTECTED]> wrote:
L.S.,


We have to upload large XML files to an FTP server, where they are
picked up for further processing.  Before ServiceMix, we used to upload
the file using a temporary name and rename the file afterwards, to
ensure the next process would never start to download a partially
uploaded XML file.

Does the <ftp:sender/> implement this kind of behavior or does it
implement another way to ensure no partially uploaded file can be
downloaded?  I didn't see it in the FTPSenderEndpoint  class, but it
might be implemented by commons-net FTPClient.

If ServiceMix doesn't have this feature and if you think it would be a
worthwhile addition, I would like to try and add it next week or so...


Regards,

Gert




--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/

Reply via email to