Solved

ftp jfilechooser

Posted on 2004-03-27
7
450 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

634 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