This method checks a given filename for it's proper transfermode (using extensions.ini). if the
file extension can not be found, the class falls back to the standard transfer mode (attribute).
Paramètres
string $filename -
The filename to check extension for.
Valeur retournée
int - either FTP_ASCII or FTP_BINARY.
Valeurs renvoyées
No errors. Always a filetransfermode should be returned.
Note
Cette fonction ne peut pas être appelée de façon statique.