TwistPHP Documentation

__construct

File path: dist/twist/Core/Utilities/FTP.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

__constructConnect to an FTP server via PHP with the ability to browse and create directories, upload, download and delete files.
The ability to choose Passive and Active connection mode is also present if using Native support.

Return Values

void — No return information has been documented for this function.

Example

<?php
//Call the function __construct with the example vars
Twist::FTP() -> __construct();