On Fri, Apr 24, 2009 at 9:40 AM, Yajun.Dong <[email protected]> wrote:
> Excuse me, How can i get the file-length of uploading file from client in
> ftp server? i check it whether the file is intergrated, so that i will
> translate it to my system.

Do you want to check the length of the file before the client uploads?
If so, that is not possible within the  FTP protocol. if you want to
check the length after the file has been uploaded (for example from an
Ftplet), you can use the org.apache.ftpserver.ftplet.FtpFile.getSize()
method.

/niklas

Reply via email to