|
Posted by Hanjo Grόίner on 09/28/05 08:08
Hello,
I want to transfer a file from a http-server to another.
Well, that goes fine like this:
$upload = ftp_put($conn_id, "$destination_file", "$source_file",
FTP_BINARY);
But I want - before the transfer - to know wether the $source_file exists.
More, I want to know and keep its original filetime.
I tried with file_exists. Don't work. So don't work fileatime etc. either.
How ?
TIA
Hanjo
--
Software & Seminar-Kontor Hans-Joachim GrΓΌΓner
Glasholz
D-24369 Waabs
http://www.gruessner.de
Navigation:
[Reply to this message]
|