fakeftp I mode
This commit is contained in:
parent
5e2981624c
commit
1d47a69361
1 changed files with 3 additions and 3 deletions
|
@ -549,8 +549,8 @@ class PrintWorkingDirectoryCommandHandler(CommandHandler):
|
|||
class SetTypeCommandHandler(CommandHandler):
|
||||
cmd = "TYPE"
|
||||
def process(self, handler, message):
|
||||
if message.parameter == "A":
|
||||
handler.log("Setting type to ASCII")
|
||||
if message.parameter == "A" or message.parameter == "I":
|
||||
handler.log("Setting type to " + message.parameter)
|
||||
handler.send( TypeSetMessage(message.parameter) )
|
||||
else:
|
||||
handler.log("Unrecognized type %s" % message.parameter)
|
||||
|
@ -796,4 +796,4 @@ while True:
|
|||
port += 1
|
||||
else:
|
||||
print "Failed to find a port"
|
||||
break
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue