Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ftp jfilechooser

Posted on 2004-03-27
7
Medium Priority
?
454 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

688 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