[Info-vax] CURL ON VMS DELETING FILES

Jeffrey H. Coffield jeffrey at digitalsynergyinc.com
Tue Aug 4 17:02:51 EDT 2009



Jeffrey H. Coffield wrote:
> 
> Steven Schweda wrote:
>> Jeffrey H. Coffield wrote:
>>
>>>         --quote "-DELE /test/''zip_file'"     -
>>> %CURL-E-FTPNOQUOTE, FTP Quote command error
>>    "-DELE"?  Not "DELE"?
>>
>>    Turn on some verbosity, so you can see who's saying what to
>> whom?
> 
> In "-DELE", the minus sign says do it after the file transfer is
> successful, otherwise not. A plus would do it before the transfer which
> in this case would be counterproductive.
> 
> Setting verbose was the trick I needed. I had to change the command to
> 
> 	--quote "-DELE ''zip-file';"
> 
> i.e removing the /test/ as the directory had already been set by the
> transfer and adding a ";" for VMS.
> 
> Thanks,
> Jeff

Just to clarify this, the ";" is only needed if the remote host is VMS.
I was using that to test but I had to take it out when the remote server
was not VMS.

Jeff



More information about the Info-vax mailing list