Page 1 of 1

Reason: ECONNABORTED - Connection aborted.

Posted: 2024-02-23 06:47
by ltduy1
I got the error "ECONNABORTED - Connection aborted" while trying to access the FileZilla server using c# code.
Here is the c# code I use:
image_2024_02_23T04_49_12_921Z.png
image_2024_02_23T04_49_12_921Z.png (86.83 KiB) Viewed 1386 times
This is the C# Error message I got:
image_2024_02_23T04_49_17_238Z.png
image_2024_02_23T04_49_17_238Z.png (21.99 KiB) Viewed 1386 times
And here is FileZilla's log:
image_2024_02_23T04_49_23_168Z.png
image_2024_02_23T04_49_23_168Z.png (84.87 KiB) Viewed 1386 times

Re: Reason: ECONNABORTED - Connection aborted.

Posted: 2024-02-23 15:08
by iam_sysop
I think you might be "missing a piece" here.

I believe you have an issue between FTPS over SSH versus plain FTPS. To do things via SSH/FTPS you need an SSH layer in there. The implementations of "FtpClient" I find in a quick search come back to FluentFTP for C# which does not seem to have SSH capabilities.

Try to switch the port you're using to port 21 and see if it works via your current implementation.

[old but potentially relevant]
https://stackoverflow.com/questions/341 ... th-c-sharp

Re: Reason: ECONNABORTED - Connection aborted.

Posted: 2024-02-23 23:24
by boco
Plus, FileZilla Pro Enterprise Server has its own forum and is not supported here. Please use the customer forum for Pro products. Closing.