| 
	
 | 
 Posted by SG on 01/26/06 23:02 
Lennart Björk avait écrit le 26/01/2006 : 
> Sylvain, 
> 
> Mais pourquoi tant de " ? 
> 
>  > 
> $resput=ftp_put($conn_id,"$destination","$source",FTP_BINARY); 
> < 
> 
> Le Manuel PHP dit 
> // upload a file 
> if (ftp_put($conn_id, $remote_file, $file, FTP_BINARY)) { 
>   echo "successfully uploaded $file\n"; 
> } else { 
>   echo "There was a problem while uploading $file\n"; 
> } 
> 
> Tu as éssayé 
> 
> $resput=ftp_put($conn_id,$destination,$source,FTP_BINARY); 
> 
> ?? 
> 
> Lennart Björk 
 
Yes 
 
It's don't works. 
Maybe i find. I forgot the protocol. 
File is on a files server (windows) Monday I will try this : 
 
$source=file:///'srv-fic01/TeJCommun/site_web_admin/liste_vacpli.sql'; 
 
What do you think about this ? 
 
Tks 
 
--  
------------------------------------------ 
 
Cordialement 
 
SG
 
  
Navigation:
[Reply to this message] 
 |