为了限制文件上传的类型,单个文件的大小,所有文件的大小我改善了服务器控件的选项。
I've included options to limit the file types to upload as well as limiting individual file size and total file size and can all be set using the server control.
我们忽略了CURLOPT _ INFILESIZE_LARGE选项,它用于指定要上传的文件大小。
The CURLOPT_INFILESIZE_LARGE option, which specifies the size of the file to be uploaded, is politely ignored.
t选项告诉curl将指定的文件上传到给定的url。
The -t option tells curl to upload the named file (s) to the given url.
应用推荐