Solved

ftp jfilechooser

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

Title # Comments Views Activity
ejb stateless example 2 27
ejb entity bean example 2 17
Java: anonymous class 4 29
Cisco ASA: Java web start no go, asdm launcher no go 3 38
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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 third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

828 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