$
FTP
->Mode(
[
mode
]
)
If called with no arguments, returns the current transfer mode for this FTP session ("asc" for ASCII or "bin" for binary). The
mode
argument can be
asc
or
bin
, in which case the appropriate transfer mode is selected. Returns
undef
on error.