Solved

ftp jfilechooser

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now