$ftp->type(type[, args])
ftp
type
args
Changes the type of data transfer. Possible types are ascii, ebcdic, byte, and binary. The value of args depends on the type.
ascii
ebcdic
byte
binary