commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil Philip <goodnewsfor...@yahoo.com>
Subject [commons-net] Remote JFileChooser using Commons.Net ftp?
Date Sun, 06 Aug 2006 01:28:17 GMT
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 

---------------------------------------------------------------------
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