new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<?php namespace ZN\Remote;
|
||||
/**
|
||||
* ZN PHP Web Framework
|
||||
*
|
||||
* "Simplicity is the ultimate sophistication." ~ Da Vinci
|
||||
*
|
||||
* @package ZN
|
||||
* @license MIT [http://opensource.org/licenses/MIT]
|
||||
* @author Ozan UYKUN [ozan@znframework.com]
|
||||
*/
|
||||
|
||||
interface FTPInterface
|
||||
{
|
||||
/**
|
||||
* Change Folder
|
||||
*
|
||||
* @param string $path
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function changeFolder(string $path) : bool;
|
||||
|
||||
/**
|
||||
* Get Files
|
||||
*
|
||||
* @param string $path
|
||||
* @param string $extension = NULL
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function files(string $path, ?string $extension = NULL) : array;
|
||||
|
||||
/**
|
||||
* Get File Size
|
||||
*
|
||||
* @param string $path
|
||||
* @param string $type = 'b' - options[b|kb|mb|gb]
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
public function fileSize(string $path, string $type = 'b', int $decimal = 2) : Float;
|
||||
}
|
||||
Reference in New Issue
Block a user