PHP ftp_size

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
koolsamule
Forum Contributor
Posts: 130
Joined: Fri Sep 25, 2009 10:03 am

PHP ftp_size

Post 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
Monotoko
Forum Commoner
Posts: 64
Joined: Fri Oct 26, 2007 4:24 pm

Re: PHP ftp_size

Post 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! :)
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: PHP ftp_size

Post by John Cartwright »

Moved to Installation and Configuration.
Post Reply