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
How to get more details in log #712
Comments
Try lftp -d ftps://ftp.dataforsyningen.dk |
Could you please explain what that is supposed to do? I can see in the manual entry, that "-d" is an option, but I don't see what it's supposed to do. I tried running lftp with and without "-d", and I don't see any difference. |
lftp -h can help you here. |
First of all. By adding the ftps prefix to the protocol ( With regards to the |
I find in the man page: OPTIONS as of your original question, it seems IMO answered: you could not have more info in the logs because the software is stuck trying to establish a TLS connection while it is already connected in TLS mode. Maybe it could detect this use case and display an error before trying to connect, but implicit TLS mode is not loved much (some want it to disappear in fact) so there is not much work on it. For reference, I am not the project owner and have only contributed a small unmerged PR, so I'm not at all speaking for the project. |
Appologies. I actually looked several times, but still missed it. But it is there. It is just in the very bottom, after the very long part about the commands inside lftp (some of which also take a -d parameter).
I did not understand that until just now, and I'm not even sure if I fully understand now. But thanks :) So exactly where does it hang? Does it actually send any messages to the server? Or does it not even get that far? I assumed that this negotiation consisted of several steps with several messages back and forth, where server and client would agree which protocol and which version, or eventually decide that they could not agree on a solution. I expected to see each step/message in that negotiation, when on the highest logging level. I was able to connect with FileZilla, and got a whole lot of logging details from FileZilla. My original plan was to get a detailed log from lftp too, and then by comparing FileZilla and lftp logs, I could tell what was different / what went wrong with my lftp attempt.
I appreciate very much that you are replying :) |
To be more precise:
edit: I wrote first 'the server is connecting in plain text...', it was decidedly written too fast. |
I asked this on Unix.StackExchange.com 9 months ago (link to post), but got no feedback. I hope its ok to ask here.
Even with the log level 9, I only get very little output in the log:
The last line comes after I press ctrl+c. Is that really all that is logged? If not, how can I get to see more info, that will help me solve the issue.
Sincerely
The text was updated successfully, but these errors were encountered: