Re: Getting free space of remote directory
| From: | Jason Wong | Date: | Fri, 10 Sep 2004 17:56:55 +0000 |
| Subject: | Re: Getting free space of remote directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196324@lists.php.net to get a copy of this message | ||
On Friday 10 September 2004 19:23, Benkovich Mishail wrote:
> I have some paths, for example:
> \\192.168.0.254\C\Windows\SomeDir\ or
> ftp://myhost.com/folder/ (login and password I also know)
> How I can check writable this dirs or no? - I can try to write temporary
> file or use touch() funktion. But how I can get free space of this remote
> catalogue?
It depends on how you access the remote directory. Eg using standard ftp there
is no command to show free space, so what you're asking for is impossible.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Teamwork is essential -- it allows you to blame someone else.
*/