We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl -T foo.txt ... isn't supported
curl -T foo.txt ...
The text was updated successfully, but these errors were encountered:
Here is one example:
$f1 = fopen('message.txt', 'r'); $r1 = curl_init('smtps://smtp.gmail.com'); curl_setopt($r1, CURLOPT_MAIL_RCPT, ['[email protected]']); curl_setopt($r1, CURLOPT_NETRC, true); curl_setopt($r1, CURLOPT_READDATA, $f1); curl_setopt($r1, CURLOPT_UPLOAD, true); curl_exec($r1);
Sorry, something went wrong.
curl -X PUT -H 'Content-Type: video/mp4' -H "Content-Length: 8036821" -T "/Users/kenh/Downloads/amazing_race.mp4" "URL"
Kindly help me translating this -T to php . Have tried infile, infilesize but failed.
No branches or pull requests
curl -T foo.txt ...
isn't supportedThe text was updated successfully, but these errors were encountered: