Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
| Search | Today's Posts | Mark Forums Read
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 7th, 2003, 05:34 AM
Authorized User
 
Join Date: Sep 2003
Location: Cambridge, , United Kingdom.
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can JFileChooser be used on a remote server?

I have a program I need to write that requires me to select a file on a server and write it to my local machine. I have achieved this no problem (Well very few) but my lecturer has asked for a GUI to browse to the server based file. I know JFileChooser works locally, but does it work over a network? And if so how? IS it a case of using a BufferedReader? or is there a "standard" network filechooser I know nothing about?

Thanks in advance.

---
David Thorne, Student
UK
__________________
---
David Thorne, Student
UK
 
Old November 11th, 2003, 08:50 AM
Authorized User
 
Join Date: Oct 2003
Location: Trichy, Tamil Nadu, India.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Suppose if u using Window NT network,

U need to map that drive which u have to choose from JFileChooser.

Thanks,
rpalani
 
Old November 11th, 2003, 09:34 AM
Authorized User
 
Join Date: Sep 2003
Location: Cambridge, , United Kingdom.
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK maybe I didn't explain what I mean properly. I am connecting to a remote server (OS "unknown" - I actually know it is Windows (At my end), but it is going 2 b testing on multi OS) so I really need to be able 2 view it "down the socket" as it were. Is that possible?

---
David Thorne, Student
UK
 
Old November 17th, 2003, 08:40 AM
Authorized User
 
Join Date: Oct 2003
Location: Trichy, Tamil Nadu, India.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i think u need one more server, like samba server used to file servicing to windows and unix/linux.
i am not sure. but this will help for you.
 
Old June 12th, 2011, 11:45 AM
Registered User
 
Join Date: Jun 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't think you can use it remotely




Similar Threads
Thread Thread Starter Forum Replies Last Post
server error when uploading to remote server ammweb ASP.NET 1.0 and 1.1 Basics 7 July 30th, 2006 01:51 AM
Locking on a Remote Server jscuderi SQL Server 2000 2 May 10th, 2006 04:30 PM
VB Express and SQL server on remote server questio HoosierDaddy61 Visual Basic 2005 Basics 0 February 22nd, 2006 11:27 AM
connecting web server and remote db server via asp moreyt Classic ASP Databases 0 May 31st, 2005 12:13 AM
Linking Remote Sql Server with Web server yeetesh Pro VB Databases 1 May 26th, 2005 04:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.