-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
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 returns error 78 Remote file not found on a correct url. #4479
Comments
By the way, using a custom command does find the message
|
I suggest you'd better change your password NOW. I've edited the comment for you. |
done... thanks! |
What is the verbose output? YOu should see something like
|
No response. Closing. |
Sorry... I was away for a while... here is the end of the verbose output with 7.66
and with curl 7.54.0:
and the email downloads correctly. |
It appears curl behavior changed in 6987fce (#2789) to use UID FETCH instead of just plain FETCH when UID is specified. According to the commit message you may be able to get the old behavior by using MAILINDEX instead of UID in your URL. |
I’m here because of the same issue. Tutorials around the web mention @vlebourl’s original approach to read IMAP mails, but it does not work with the latest cURL, alas. |
"Tutorials around the web" is a tricky thing... @jay already pointed out what made curl change: we had it wrong previously but we also provide a way to retain the old behavior so whatever your situation is, it seems to me that you should be able to get it going. |
Here's the full return message:
curl: (78) Remote file not found
I did this
curl --user "login:password" --url "imaps://imap.gmail.com:993/INBOX/;UID=1/"
I expected the following
<title>Bankin'</title> <style type=3D"text/css"> ... and the rest of the emailcurl/libcurl version
operating system
macOS 10.14.5
The text was updated successfully, but these errors were encountered: