Re: STOR a temporary file

2009-05-12 Thread David Latorre
2009/5/12 massimiliano basilica : > HI all, > I'm using FTPServer 1.0.I need that the FTPServer stores a file with a > temporary file extention and  rename it with originally file name.The > scenario is:The Client sends the file "FirstFile.txt" (put FirstFile.txt).The > FTPServer must store it a

Re: STOR a temporary file

2009-05-12 Thread massimiliano basilica
Oggetto: Re: STOR a temporary file A: ftpserver-users@mina.apache.org Data: Martedì 12 maggio 2009, 11:42 2009/5/12 massimiliano basilica : > HI all, > I'm using FTPServer 1.0.I need that the FTPServer stores a file with a > temporary file extention and  rename it with originall

Re: STOR a temporary file

2009-05-12 Thread David Latorre
ve > the same problem for the method onUploadEnd.Please, Could you send me an > example? > > > Thank you in advance for your useful help. > Massimiliano. > > --- Mar 12/5/09, David Latorre ha scritto: > > Da: David Latorre > Oggetto: Re: STOR a temporary f

Re: STOR a temporary file

2009-05-13 Thread Fred Moore
Hi David, in you previous post you stated: > There's no way to know (at the server side) if the file has been > transferred correctly. When the data connection is closed, > the server thinks the file transfer finished correctly > but this must not be the case. This is something of the utmost imp

Re: STOR a temporary file

2009-05-13 Thread David Latorre
2009/5/13 Fred Moore : > Hi David, > > in you previous post you stated: > >> There's no way to know (at the server side) if the file has been >> transferred correctly. When the data connection is closed, >> the server thinks the file transfer finished correctly >> but this must not be the case. > >

Re: STOR a temporary file

2009-05-13 Thread Niklas Gustavsson
On Wed, May 13, 2009 at 12:44 PM, David Latorre wrote: > If the client renamed the file itself when  the upload finished, you'd > be sure that it had been successfully written ( Besides, you can use > MD5 checks for data integrity). This is the strategy I've always used when I have automated FTP

RE: STOR a temporary file

2009-05-13 Thread Dan
sh to the server? Dan -Original Message- From: Niklas Gustavsson [mailto:nik...@protocol7.com] Sent: May-13-09 6:52 AM To: ftpserver-users@mina.apache.org Subject: Re: STOR a temporary file On Wed, May 13, 2009 at 12:44 PM, David Latorre wrote: > If the client renamed the file its

Re: STOR a temporary file

2009-05-13 Thread Sai Pullabhotla
le > > When does the client send the MD5 hash to the server? > > Dan > > -Original Message- > From: Niklas Gustavsson [mailto:nik...@protocol7.com] > Sent: May-13-09 6:52 AM > To: ftpserver-users@mina.apache.org > Subject: Re: STOR a temporary file > >

Re: STOR a temporary file

2009-05-14 Thread David Latorre
es the client send the MD5 hash to the server? >> >> Dan >> >> -Original Message- >> From: Niklas Gustavsson [mailto:nik...@protocol7.com] >> Sent: May-13-09 6:52 AM >> To: ftpserver-users@mina.apache.org >> Subject: Re: STOR a temporary file >