curl: (26) couldn't open file

后端 未结 6 1779
盖世英雄少女心
盖世英雄少女心 2020-12-06 00:26

I am getting this error, when I am trying to call a box api through curl.

curl: (26) couldn\'t open file

Can\'t find why! I am calling thi

6条回答
  •  青春惊慌失措
    2020-12-06 00:51

    I was having this problem this morning but I solved with this

    fileUpload=@\"file, with comma .txt\"
    

    So you have to put some double quotes around the file name if you have commas in the file name ( \" )

提交回复
热议问题