GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In FTP, you connect to port 21 and login and then a command link is opened and it is kept open.
Commands are sent through the command link and when you transfer files, a data link is opened and the file is transfered through that link.
I want to know if what I just said was right.
Are these command links and data links actually other free ports on the Server and Client.
And does the same thing apply to HTTP.
Can anyone please explain exactly how a file download happens in HTTP?
Yes, FTP (control) connections are made on port 21, but data transfer happens on port 20, in passive mode, or some random high port, depending on the particular ftp server, in active mode.
and during http session you are still connected to port 80 on the server with a hiher port on your client, as soon as you start downloading you are opening up another http session, your browser configured such way so it either launches a downloader or opens up a file if there is a derective that tells the browser to open such file with a helper application rather than save it to your harddrive.
Does it sends through its port 80 or does it open another port and send it through that??
And about the signature, Just think about it. When writing a game, you are creating your own world, where you are god. Think about the one who made the world we are in. He actually made us think about him !!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.