On Tue, Apr 16, 2002 at 10:40:23AM -0700, Florin Andrei wrote:
> and the local directories were created if they didn't existed.
>
> Now, lftp does not create the local directories if they don't exist.
> Is this a feature change, or a bug?

I would call it an unwanted feature change. Fortunately it is easy to
change it back:

--- MirrorJob.cc        2002/02/07 12:26:45
+++ MirrorJob.cc        2002/04/18 07:19:52
@@ -511,7 +511,7 @@ int   MirrorJob::Do()
         goto pre_CHANGING_DIR;
       if(target_relative_dir)
         Report(_("Making directory `%s'"),target_relative_dir);
-      target_session->Mkdir(target_dir);
+      target_session->Mkdir(target_dir,(parent_mirror==0));
       state=MAKE_TARGET_DIR;
       m=MOVED;
    case(MAKE_TARGET_DIR):


--
   Alexander.                      | http://www.yars.free.net/~lav/

Reply via email to