Problem with RMI file Browsing

  • Follow


I have created an Explorer(Basic windows style) using RMI and java.On localhost it runs fine , but on remote host it shows someinconsistency.Though files and folders are visible and ok , but their size (in somecases) is 0 .I am unable to track the problem. Source code is available at     geocities.com/dev.sushant/rmi forreview.(Project is developed in Netbeans and can be easily accessed.)
0
Reply fxlogx (2) 10/26/2007 10:12:55 AM

bluegene wrote:>  Source code is available at     geocities.com/dev.sushant/rmi for> review.> (Project is developed in Netbeans and can be easily accessed.)You must be kidding if you seriously expect anyone to download your code and put it into Netbeans.However your problem will undoubtedly be that you are serializing Files and trying to get their length at the wrong side. File doesn't take its length with it when you serialize it, or any other attribute except its name. You need to get all the File attributes you want at the side where they can be obtained, and ship them all to the other side.
0
Reply Esmond 10/26/2007 9:14:41 PM


Esmond Pitt wrote:>>  Source code is available at     geocities.com/dev.sushant/rmi for>> review.>> (Project is developed in Netbeans and can be easily accessed.)>>You must be kidding if you seriously expect anyone to download your code >and put it into Netbeans....I agree with your basic point, though I *did* download the OP's 166 Kb of Zip file*.  It was disappointing the OP had not thought to run the 'clean' task to clear the build and dist directories before zipping it.I do not have any version of NB immediately available, butexperimented a little with the available build.xml to see if Icould throw the project on-screen, but after ten minutes of less than optimal results, I gave up and moved on..* And yes, I was really bored and at a loose end, at the time.-- Andrew Thompsonhttp://www.athompson.info/andrew/Message posted via JavaKB.comhttp://www.javakb.com/Uwe/Forums.aspx/java-general/200710/1
0
Reply Andrew 10/27/2007 2:04:19 AM

Andrew Thompson wrote:> I agree with your basic point, though I *did* download the > OP's 166 Kb of Zip file*.Don't encourage them ...
0
Reply Esmond 10/28/2007 11:01:26 PM

3 Replies
88 Views

(page loaded in 0.222 seconds)

Similiar Articles:




7/10/2012 7:18:50 PM


Reply: