Missing change from last commit, print error #4695
This commit is contained in:
parent
d278c2d8d4
commit
b4b5ce6483
|
@ -47,6 +47,8 @@ class FtpUploader:
|
||||||
try:
|
try:
|
||||||
ftp.mkd(dir)
|
ftp.mkd(dir)
|
||||||
except:
|
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
|
print "Changing to dir '%s'" % dir
|
||||||
ftp.cwd(dir)
|
ftp.cwd(dir)
|
||||||
|
|
Loading…
Reference in New Issue