Should lines 384 and 432 be changed from:

            destination.mkdirs();

to

            destination.getParentFile().mkdirs();


If so, here's the patch:


--- FileUtil.java.orig  Fri Feb 22 21:52:02 2002
+++ FileUtil.java       Fri Feb 22 21:52:17 2002
@@ -381,7 +381,7 @@
         if( destination.getParentFile() != null &&
             !destination.getParentFile().exists() )
         {
-            destination.mkdirs();
+            destination.getParentFile().mkdirs();
         }

         //make sure we can write to destination
@@ -429,7 +429,7 @@
         if( destination.getParentFile() != null &&
             !destination.getParentFile().exists() )
         {
-            destination.mkdirs();
+            destination.getParentFile().mkdirs();
         }

         //make sure we can write to destination
-- 

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


1 cent a minute calls anywhere in the U.S.!

http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to