Posted by Mike on 10/11/05 10:01
i need to send JPG files....not just text files..
"Rauch Christian" <info@rauch-webdesign.de> wrote in message
news:difkpf$4r2$00$1@news.t-online.com...
> Mike schrieb:
> > how can i get PHP to upload a file from my server, to a remote ftp
server?
> >
> > do i need to have PHP or Apache built with extra module for me to use
this
> > method?
> >
> > or can I use PHP's socket to achieve this?
> >
> > sorry if this is a newbie question
> >
>
> you are searching for http://php.net/fopen
>
> You can use fopen in the following way:
> $handle = fopen ("ftp://user:password@example.com/somefile.txt", "w");
>
> For more info see the page above and linked instructions
>
> -rauch
>
[Back to original message]
|