Author: jflesch
Date: 2006-10-10 06:18:09 +0000 (Tue, 10 Oct 2006)
New Revision: 10655

Modified:
   trunk/apps/Thaw/src/thaw/fcp/FCPClientGet.java
Log:
Fix status display when downloading

Modified: trunk/apps/Thaw/src/thaw/fcp/FCPClientGet.java
===================================================================
--- trunk/apps/Thaw/src/thaw/fcp/FCPClientGet.java      2006-10-09 20:35:41 UTC 
(rev 10654)
+++ trunk/apps/Thaw/src/thaw/fcp/FCPClientGet.java      2006-10-10 06:18:09 UTC 
(rev 10655)
@@ -214,18 +214,19 @@
                                if(!alreadySaved) {
                                        alreadySaved = true;

-                                       status = "Available";
                                        fileSize = (new 
Long(message.getValue("DataLength"))).longValue();

                                        if(isPersistent()) {
                                                if(destinationDir != null) {

                                                        
if(!fileExists(destinationDir)) {
+                                                               status = 
"Requesting file from the node";
                                                                progress = 99;
                                                                running = true;
                                                                successful = 
false;
                                                                
saveFileTo(destinationDir);
                                                        } else {
+                                                               status = 
"Available";
                                                                progress = 100;
                                                                running = false;
                                                                successful = 
true;


Reply via email to