Marek,

thank you for your answer,

Il giorno 27/apr/05, alle 1:28 PM, Marek Kilimajer ha scritto:

Giulio wrote:

My problem is that I'm using, to make the system as general as possible, and make it work even on servers where php doesn't have write privileges, ftp functions instead of filesystem functions, and using ftp it seems that it's not possible to append to a file. I also thinked to use the fopen function with an ftp address, but reading the docs it says that fseek function ( to position the pointer at eof to go on appending ) may not work if the file is opened using ftp or http.
Suggestion about this issue?

ftp_put() has startpos parameter. I think you need to turn FTP_AUTOSEEK off, because you have only partial file.



I see... but startpos was added on 4.3.0, that's why I did't find it on my ( quite old, now i realize ) manual.


do you think that i should use it and be confident that php 4.3 is at the moment widely installed?

Regards,

       Giulio




Cantoberon Multimedia srl
http://www.cantoberon.it
Tel. 06 39737052

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



Reply via email to