Set file transfer mode
App::Module('Ftp')->setType(Mode);
Parameter |
Type |
Description |
---|---|---|
Mode |
Mandatory |
Set file transfer mode. See bellow types |
return true if success
See bellow examples:
$Ftp = App::Module('Ftp');
$Ftp->Login('username','********');
$rawList = $Ftp->setType(FTP_BINARY);