API17

JFTP:: findMode

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JFTP::_findMode[edit]

Description[edit]

Method to find out the correct transfer mode for a specific file.


public function _findMode ($fileName)
Parameter Type Default Description
$fileName string Name of the file
  • Returns integer Transfer-mode for this filetype [FTP_ASCII|FTP_BINARY]
  • Defined on line 1402 of libraries/joomla/client/ftp.php
  • Referenced by

See also[edit]


User contributed notes[edit]

Code Examples[edit]