Mike Beard 0 Posted August 29 Hi All, This is my second attempt at putting a question on this forum (my last one never appeared on the forum after I submitted it). When I try to upload a file using ICS v8.66 using tIcsFtpMulti it sometimes works but mostly fails with an error of "451-Error during read from data connection". I upgraded to ICS v9.2, but this did not fix the problem. I found someone with a similar problem, though I don't think it is ICS related, but they solved it - 451-Error during read from data connection · Issue #205 · patrickjuchli/basic-ftp · GitHub Any help greatly appreciated. Thanks, Michael. Share this post Link to post
Lars Fosdal 1792 Posted August 29 FYI - Removed the other post, which appeared to be in the wrong sub-forum. Share this post Link to post
Angus Robertson 574 Posted August 29 I do have a couple of intermittent FTP bugs on my pending fix list, but since my downloads and uploads always work after retries, not got around to investigating them yet. The github report relates to the socket being closed too early, ICS normally waits until all data is processed before closing a socket using the CloseDelayed method, But I'll look at the code, next week. Angus Share this post Link to post
Mike Beard 0 Posted August 29 Lars - Thanks for that, my first use of this forum so apologies for my mistake. Angus - Thanks, if you need something, e.g. log extract, I can provide. Michael. Share this post Link to post
Angus Robertson 574 Posted August 30 Error 451 is not something I often see, not using my servers. So please email logs generated by the component showing all FTP commands in a session, to the email you'll find in the source. I'd also recommend you test against other FTP servers to see if it's a client or server problem, you can upload to ics.ftptest.org which is the ICS FTP server, but you'll need a login I'll send you when I have your email address. Angus Share this post Link to post
Mike Beard 0 Posted September 2 Angus, I tried to upload a log of the communications, but the anti-spamming blocked it. My email is mikeb@justdata.com.au. Thanks, Michael. Share this post Link to post
Angus Robertson 574 Posted September 3 My mail server does not block domains, but IP ranges used by spammers and hackers, about 800 at the moment, three emails this morning trying to get my email account password, so two more hosting companies in Italy and South Africa now blocked, third was from a Google user account, sad that Google allows hackers to send faked emails. If it's my server blocking you, which is rare, please send the log as a message via this platform. Angus Share this post Link to post
Mike Beard 0 Posted September 3 Angus, It was a message to this forum that was blocked, I simply added the log text where this message is. It was blocked as spam. Anyhow here is a cut down version, with IPs removed - 4/09/2024 @ 5:32:12 AM < 227 Entering Passive Mode ([IP address]) 4/09/2024 @ 5:32:12 AM ! Upload Size 26.2K 4/09/2024 @ 5:32:12 AM ! Passive connection requested to: [IP address], control channel: 4/09/2024 @ 5:32:12 AM > STOR 20240815_zip 4/09/2024 @ 5:32:12 AM < 150 Accepted data connection 4/09/2024 @ 5:32:12 AM ! SSL Connected OK with TLSv1.3, cipher TLS_AES_256_GCM_SHA384, encryption AESGCM(256), message auth AEAD 4/09/2024 @ 5:32:12 AM < 451-Error during read from data connection 4/09/2024 @ 5:32:12 AM < 451 Transfer aborted 4/09/2024 @ 5:32:12 AM ! STOR Failed 4/09/2024 @ 5:32:12 AM 1: 20240815.zip (failed) 4/09/2024 @ 5:32:12 AM > QUIT 4/09/2024 @ 5:32:12 AM < 221-Goodbye. You uploaded 0 and downloaded 0 kbytes. 4/09/2024 @ 5:32:12 AM < 221 Logout. 4/09/2024 @ 5:32:12 AM 😧 Quit connection If you email me (see last post) I can send by email. Regards, Michael. Share this post Link to post
Angus Robertson 574 Posted September 4 I asked you to email the log to me, not post it here, since no other forum users will have any interest in it. It looks like a server error, try a different server. I've emailed the ics.ftptest.org login. Angus Share this post Link to post
Mike Beard 0 Posted September 4 Angus, Thanks for that, I have not received your email yet. I have also sent you an email. Michael. Share this post Link to post
Mike Beard 0 Posted September 5 Further to my previous post, I have tried it on different servers and get the same result. I will wait to test it on your server. Michael. Share this post Link to post
Angus Robertson 574 Posted September 5 My email was sent 24 hours ago, and did not bounce. I'll send you a direct message as well. Angus Share this post Link to post
Angus Robertson 574 Posted September 5 Your email server is incorrectly configured, it uses an invalid SSL/TLS certificate, so no-one can send you email securely. Connection to 202.164.22.101:25 from 217.146.102.137:55591 succeeded (Id: 1) RSP: 220 pleskhosting.webclick.com.au ESMTP Postfix CMD: STARTTLS RSP: 220 2.0.0 Ready to start TLS Certificate name mismatch. Expected Hostname: mail.justdata.com.au, Certificate Information: Subject=CN=*.webclick.com.au Issuer=CN=Sectigo RSA Domain Validation Secure Server CA Angus Share this post Link to post