Page 1 of 1

PHP ftp_size

Posted: Mon Oct 04, 2010 4:20 am
by koolsamule
Hi Chaps,

I'm trying to read the file size on an FTP site.

I've been using ftp_size() which worked, but since have upgraded our server to IIS 7.5.

I read on http://php.net/manual/en/function.ftp-size.php, that not all servers support this.

Is there something on the server that I can change to enable this? Or is there something else I can try?

Cheers

Re: PHP ftp_size

Posted: Mon Oct 04, 2010 12:16 pm
by Monotoko
If you are using Windows (which I assume you are since you are using IIS!) you can use filezilla server for free: http://filezilla-project.org/
The FTP server built into IIS is very basic and not so good with integration into PHP, Filezilla on the other hand is a lot better! :)

Re: PHP ftp_size

Posted: Mon Oct 04, 2010 12:19 pm
by John Cartwright
Moved to Installation and Configuration.