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


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

  • Joomla 11.1 JFTP::_findMode source code on BitBucket
  • Joomla 11.1 Class JFTP
  • Joomla 11.1 Subpackage Client
  • Other versions of JFTP::_findMode

User contributed notes

Code Examples