Hi Niklas, If we use the server as it is with out extending server code, everything works fine with native file system. In general when you don't issue local file name remote file is downloaded with the same name.
I am guessing if we have coded something wrong as it is not working for not mentioning 'local file' file while issuing 'get' command. But even if we have wrongly coded it should not worked by mentioning 'local file'. Can you please let us know what is the importance of 'local file' name apache FTP server. Also one more thing runs in my mind is i am trying to download file by name 'ID:<80831.1296382182477.0>' which is the not correct format for while name --> can you please let me know is this the issue? Thanks and Regards, Jagadish Ext : +91 40 30715500 LL : 9 624 233 Mobile : +91 99497 94567 ________________________________________ From: Niklas Gustavsson [[email protected]] Sent: Sunday, January 30, 2011 5:54 PM To: Chowhan, Jagadish Cc: [email protected] Subject: Re: Apache FTP Server- Virtual File system Implementation On Sun, Jan 30, 2011 at 6:52 AM, Chowhan, Jagadish <[email protected]> wrote: > Thanks Niklas for the response. > > When we issue the get command > > 1) lands in getFile method of FileSystemView with the file name which we want > to get. > 2) lands in execute method of RETR class I'm guessing this has to do with how the Windows FTP client works. Can you confirm what happens with some other FTP server when you do not provide the local file name? /niklas Information contained and transmitted by this e-mail is confidential and proprietary to Patni Computer Systems Ltd and its affiliates (hitherto referred as Patni Computers) and is intended for use only by the recipient. If you are not the intended recipient , you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or [email protected]. Patni Computers does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of Patni Computers. Patni Computers is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While Patni Computers has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about Patni Computers please visit www.patni.com.
