basically if you choose active mode, then the data channel will normally be FTP port 20. But if you choose passivemode, then the port that will be used will be a random port.And passive ftp idk. Never heard of it. Need someone else to chip in on that part..
ftp what.ever.adress.the.ftp.server.haspassive inside the ftp session. You should see something like below. Repeating the passive command turns the mode off.ftp> passive
Passive mode on.
ftp> ls
550 Permission denied.
Passive mode refused.
ftp> passive
Passive mode off.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-rw-r-- 1 503 503 0 Oct 30 2020 files1
-rw-rw-r-- 1 503 503 0 Oct 30 2020 files10
-rw-rw-r-- 1 503 503 0 Oct 30 2020files2
226 Directory send OK.
ftp>correct. Big Sur , so how do i deactivate it in general. ? do pkg managers ie like homebrew let you remove mac system packages ? how do you completely remove stuff on mac like you do in linux ?you want to deactivate ftp in general? What MacOS are you running?
Activeorpassivecommand switches the mode of/for a ftp connection. It’s an “old” protocol, if anything one should use sftp.
You cannot remove macOs system packages. You cannot make macOs into Linux. If you want to customize the kernel and remove everything and get a 100mb install like you can on Linux - use Linux.correct. Big Sur , so how do i deactivate it in general. ? do pkg managers ie like homebrew let you remove mac system packages ? how do you completely remove stuff on mac like you do in linux ?
sure thing. i already do use linux. i use a mac for photo editing etc using adobe etc...You cannot remove macOs system packages. You cannot make macOs into Linux. If you want to customize the kernel and remove everything and get a 100mb install like you can on Linux - use Linux.
Paste a screenshot of your system profile where it shows FTP on in passive mode.
Yeah, makes sense to use the Mac for stuff like Adobe's software. It's just never going to be like Linux, so no point expecting that. Just as Linux is not good at some stuff - horses for courses.sure thing. i already do use linux. i use a mac for photo editing etc using adobe etc...
i will post screenshot soon.
AFAIK the ftp server functionality is not included with Big Sur (actually it’s gone since High Sierra/Mojave and it was pulled to instead emphasize SFTP usage). Anyway, an outgoing sftp/ftp is something you (or some program you have installed) have to initiate.correct. Big Sur , so how do i deactivate it in general. ? do pkg managers ie like homebrew let you remove mac system packages ? how do you completely remove stuff on mac like you do in linux ?
ps -e | grep ftp; modify the grep search according your needs or use e.g. less to display and scroll trough all active processes), first step then would be to kill the process (having obtained the process id from the previous command use kill process-ID).