Skip to content
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

Support FTP Active Mode #61

Open
peter8777555 opened this issue Nov 6, 2023 · 4 comments
Open

Support FTP Active Mode #61

peter8777555 opened this issue Nov 6, 2023 · 4 comments

Comments

@peter8777555
Copy link

peter8777555 commented Nov 6, 2023

MS FTP.exe does not support the passive mode.
Can i use FTP.exe in MS ALL Windows OS ?

@FlorianReimold
Copy link
Member

FlorianReimold commented Nov 6, 2023

I don't fully understand the question, sorry.

FTP Active mode is considered to be outdated, as it doesn't work with firewalls. It also prevents more than 1 simultaneous connection from the entire PC / ip address (Ok, this can be worked around with the PORT command). Back in 1985 nobody thought about that, but nowadays people simply use the FTP passive mode which doesn't have those downsides. Therefore, I consider implementing FTP Active mode to not be worth the time and effort. If it shall be true, that the windows ftp.exe doesn't support passive mode, you can simply use curl.exe, which is shipped with any modern Windows anyways. Curl is well tested with fineFTP Server and uses ftp passive mode by default.

I am curious though, why you are using ftp.exe: Did you just know know about the existence of curl, or are there specific reasons?

@peter8777555
Copy link
Author

peter8777555 commented Nov 6, 2023

I got Fine FTP Server from China froum.
http://bbs.c3.wuyou.net/forum.php?mod=viewthread&tid=437791

Any Windows OS with FTP.exe,it is very convenient.
You do NOT need to download any other FTP client firstly.

OS: Windows 7 X64
Test : FTP.exe

Test_Sample.zip

@FlorianReimold FlorianReimold changed the title Windows CMD FTP.exe Support FTP Active Mode Nov 7, 2023
@FlorianReimold
Copy link
Member

OK, I see. We are dealing with legacy Windows OS here. Neither Windows 7, nor Windows XP should be used anymore, as those are out of support and are most likely insecure by now. But you are right, back then Microsoft did not ship curl.exe with Windows by default. For any modern Windows (Win10 and up), curl is present.

I changed the title of this issue to "Support FTP Active Mode". I personally currently don't have a justification to spend time on it, but let's see if there is more interest in this topic and if maybe anybody from the community is willing to make a PR for this.

@peter8777555
Copy link
Author

Thanks for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants