diff --git a/ext/toolchain/ftputil.py b/ext/toolchain/ftputil.py index 3351f6b4..b9a19306 100644 --- a/ext/toolchain/ftputil.py +++ b/ext/toolchain/ftputil.py @@ -47,6 +47,8 @@ class FtpUploader: try: ftp.mkd(dir) except: + # sometimes nlst may returns nothing, so mkd fails with 'File exists' + print "Failed to create dir '%s'" % dir print "Changing to dir '%s'" % dir ftp.cwd(dir)