Iacopo
unread,Jan 4, 2009, 10:10:21 AM1/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mailing list for the ftpsync2d project
Hi and happy new year,
I'm trying to use your code to sync my python scripts (more than 700
files, and about 40 first-level directory) between my computers. I
tried to understand it to adapt it to my needs, but I can't understand
the whole code yet. For exemple, in line 336: self.makedirs
(os.path.dirname(fullname), rm_local_listing=True, verbose=verbose)
Why there isn't a condition? In fact, during the running, I see that
the function is called every time a file is uploaded and I think that
slow very much the process (too much in my case), because I placed
some "print" and it seems (it's possible?) that makedirs is called
many times with same parameter (the first argument), and this is that
I don't understand.
Could you explain me this behavior?
Thank you and sorry for my english.