CURL command line tool - Delete File from FTP server

前端 未结 3 1282
孤街浪徒
孤街浪徒 2021-01-17 20:57

I\'m actually trying to use CURL to make some operations on a ftp server in C++ with Visual Studio. I\'ve no trouble to do some uploads or downloads with comman

3条回答
  •  别那么骄傲
    2021-01-17 21:14

    Problem solved! The dash before DELE should not be there:

    curl -v -u username:pwd ftp://host/FileTodelete.xml -Q "DELE FileTodelete.xml"
    

提交回复
热议问题