Solved

ftp jfilechooser

Posted on 2004-03-27
7
441 Views
Last Modified: 2008-03-17
Hi

I have an application which runs on linux and windows....but is mainly used on windows. Now the input data to this application is given at runtime from a linux driven program ....the input data is easily accessable through ftp.
I'd like to let the user to browse using jfilechooser into his/her directory grabing the input required from (networkplaces->ftp://xxx.xxx.x.x)the linux box, but the content of the ftp does not appear
because the user needs to type types in their password. but Jfilechooser does not popup any window asking for password.... how can i do this smoothly without setting up client server app ....I just want to use a simple  jfilechooser now this is  only a suggestion.... so if you have better please let me know with example code would be appricated.

cheers.
0
Comment
Question by:Thunder_scream
  • 3
  • 2
7 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 10695879
Don't think that is supported by JFileChooser - it's a Windows Explorer thing
0
 
LVL 2

Accepted Solution

by:
Thunder_scream earned 0 total points
ID: 10697582
well I found two ways around it....that  seems to work...

1)  http://www.crocodile.org/listok/2/WhatDoesFileSystemViewView.shtml

2)  and I could map a drive using....thirdparty drive..and then use jfilechooser...right..

but if anyone have better solution...please let me..know..
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10697991
>>and I could map a drive using....thirdparty drive..and then use jfilechooser...right..

Don't *think* you can map a drive letter to an ftp folder, unless it's on your LAN (and then it wouldn't *need* to be ftp) but i could be wrong
0
 
LVL 2

Author Comment

by:Thunder_scream
ID: 10698007
yes that's true you cant do it alone with windows

programs "third party" I have done this successfully with is

"Internet Neighborhood® Pro" (yet not recommend...with anivirus prog installed)
http://www.knowareinc.com/index.html

or

"webdrive"...(what I'm using as my solution so far)
http://www.southrivertech.com/

check them out

with all do respect CEHJ I think your wrong..because i'm using it right now

Cheers
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10698107
>>with all do respect CEHJ I think your wrong..because i'm using it right now

As you said earlier:

>>yes that's true you cant do it alone with windows

That's what i was getting at. With third party software maybe.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 84
Java SE 8u111  Lot of stuff broke 11 69
windows explorer path to command prompt 5 44
How to convert String matching to regex in java 4 33
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question