Skip to content
Open

hi #1

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ftpbackup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@

def error(resp):
if '530' in str(resp):
print "Incorret Login."
print "Incorrect Login."
elif '550' in str(resp):
print "Directory don't Found!"
print "Directory not found!"
else:
print resp
print "Unknow Error."
print "Unknown Error."
sys.exit(1)

def backup_dir():
Expand Down Expand Up @@ -153,7 +153,7 @@ def lista(percorso):
pass

def recursive():
print "Wait...Searching for the files.."
print "Wait...Searching for files.."
for name_dir in dirs:
lista(name_dir)

Expand Down