Hi Benkovich,
Le 04-09-10, à 07:23, Benkovich Mishail a écrit :

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.

You may check for writable on directories in an even simpler way using is_writeable() :
http://www.php.net/manual/en/function.is-writable.php


But how I can get free space of this remote
catalogue?

disk_free_space() : http://www.php.net/manual/en/function.disk-free-space.php

Hope this does the trick!





__________________________________________________________________ Misha
ICQ#: 338012800 Current ICQ status: ( Home Tel#: 990161 + More ways to
contact me
__________________________________________________________________


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to