HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP FTP Reference : Get size of a file on the FTP server
The ftp_size() function returns the size of a specified file on the FTP server.
Parameter | Description |
---|---|
ftp_conn | Required. Specifies the FTP connection to use |
file | Required. Specifies the server file to check |
Return Value: | The size of the file (in bytes) on success, or -1 on error |
---|---|
PHP Version: | 4+ |
❮ PHP FTP Reference