See sync, line 159:
http://hg.sschwarzer.net/ftputil/file/963488f28417/ftputil/sync.py#l159
When syncing two directories of source contains invalid path syncer should rise exception. Now it just ends silently.