Name

Mode

Synopsis

$FTP ->Mode([mode])

Description

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.

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.