commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil Philip <goodnewsfor...@yahoo.com>
Subject Re: [commons-net] Remote JFileChooser using Commons.Net ftp?
Date Sun, 06 Aug 2006 22:43:36 GMT
Also, FTPFile in Commons.Net does NOT inherit from
File. Has no one done this before?
-
Anil

--- Anil Philip <goodnewsforyou@yahoo.com> wrote:

> Hello,
> I want to display the files in a remote folder using
> ftp. (commons.net)
> From all the googling I have done, it seems I must
> subclass FileSystemView and pass it to
> the JFileChooser.
> However, FileSystemView returns File from several of
> its methods.
> Must I again subclass File? This would be tedious
> and
> further, how can I create a File on the remote
> machine? (not possible in ftp, only directory)
> 
> public File createFileObject(File dir, String
> filename)
> public File createFileObject(String path)
> protected File createFileSystemRoot(File f)
> 
> If you know whether there is any existing code that
> solves the problem, it would help much!
> thanks,
> Anil Philip
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


for good news go to http://members.tripod.com/~goodnewsforyou/goodnews.html

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message