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

curl-and-php

Re: delete file from ftp with quote

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 25 Jul 2008 22:56:16 +0200 (CEST)

On Fri, 25 Jul 2008, Gaetano Favoino wrote:

> $comandi_array[] = "\"-dele FNVAC20080716140014.CHK\"";

"-dele" is not a command that you can send to the server and assume it'll
understand. The system with '-' prefix is what the command line tool uses,
libcurl itself has different setopt options for actions to be done before or
after the transfer. See the libcurl docs for details.

-- 
  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-07-25