Re: fopen for ftp transfers
| From: | CC Zona | Date: | Mon, 29 Oct 2001 21:01:17 +0000 |
| Subject: | Re: fopen for ftp transfers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72774@lists.php.net to get a copy of this message | ||
In article <Pine.LNX.4.33.0110290955460.9429-100000@kelly.talon.net>,
scott@scottah.com (Scott) wrote:
> I am attempting to transfer files from one server to another via ftp. I
> am wondering if this is the best method to transfer files within PHP or
> should I seek other methods. Here is the way I am doing it now:
>
> $sendfile =
> fopen("ftp:user:letmein@10.1.1.1/testfile",
> "w");
<http://php.net/ftp>
--
CC