send_type_command()
private
Sends a command to destination host, with the current binary sendmode type.
If binary mode is true, then “TYPE I” (image) is sent,
otherwise “TYPE A” (ascii) is sent.
# File lib/net/ftp.rb, line 290
def send_type_command # :nodoc:
if @binary
voidcmd("TYPE I")
else
voidcmd("TYPE A")
end
end