cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: remote file upload to remote ftp server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 13 Nov 2005 20:15:41 +0100 (CET)

On Sun, 13 Nov 2005, dynamite media wrote:

> ok well i guesss im not making myself clear here and as well i was asking if
> something like this was possible not asking you to write it as i just had
> these quick ideas.

I tried to answer: yes it is very much possible. PHP/CURL offers everything
you need to get it done.

> i am trying to get a url form another page , maybe www.mysite.com/fun.wmv 
> or www.mysite.com/fun.exe   or ftp://name:passwrd@mysite.com/fun.wmv and
> upload it to my ftp sever.

1. Download the file

2. Upload the file

done.

> so i thought that curl did something like this as it will fetch the URL
> either FTP or Http and then upload it to my ftp server or one of choice.

Yes it can.

> and was wondering if using PHP i could enter these variables to do so. 

Yes you can.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2005-11-13