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):
|
class SetTypeCommandHandler(CommandHandler):
|
||||||
cmd = "TYPE"
|
cmd = "TYPE"
|
||||||
def process(self, handler, message):
|
def process(self, handler, message):
|
||||||
if message.parameter == "A":
|
if message.parameter == "A" or message.parameter == "I":
|
||||||
handler.log("Setting type to ASCII")
|
handler.log("Setting type to " + message.parameter)
|
||||||
handler.send( TypeSetMessage(message.parameter) )
|
handler.send( TypeSetMessage(message.parameter) )
|
||||||
else:
|
else:
|
||||||
handler.log("Unrecognized type %s" % message.parameter)
|
handler.log("Unrecognized type %s" % message.parameter)
|
||||||
|
|
Loading…
Reference in a new issue