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

curl-and-php

Re: Moving files on an FTP server via libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Jun 2007 22:03:28 +0200 (CEST)

On Wed, 27 Jun 2007, simon_at_ice.org wrote:

> I thought the FTP rename syntax was:
> rename [oldfile] [newfile]

That's the syntax ftp clients usually use but it isn't really FTP protocol.

> RNFR [oldfile]
> RNTO [newfile]

This is exactly how RFC959 tells us to do renames over FTP.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-06-27