Hello Massimiliano, 2009/5/12 massimiliano basilica <[email protected]>: > Sorry I've sent a previous request without completing it. > > I'm using FTPServer 1.0.I need that the FTPServer stores a file with a > temporary file extention during the upload and rename it with originally > file name when the upload is completed.The scenario is:The Client sends the > file "FirstFile.txt" (put FirstFile.txt).The FTPServer must store it as > FirstFile.txt.tmp. When the uploading is completed, the FTPServer must rename > it as FirstFile.txt.This must be transparent to the Client.Can I solve this > issue extending the class org.apache.ftpserver.ftplet.DefaultFtplet and > override the method onUploadStart, and on UploadEnd? or the only way I can do > is to rewrite the org.apache.ftpserver.command.impl.STOR() class and add the > new command using the DefaultCommandFactory?
See my previous email for an answer. Was it clear or do you need further clarification/explanations? > > > Any advice?Thank you in advance.Sorry again for sending this request twice. > Massimiliano. > > > >
