What is the FTP command to read a file on the FTP server?
More precisely, what is the FTP command to show the contents of a text file on the FTP terminal directly? There are at least two ways to do this:
First, There are many FTP client and server flavors. They should all support core commands like 'get' and 'put', but other things they allow you do pretty much are up to them. Try the 'page' command as follows:
ftp>ls
readme.txt
ftp>page readme.txt
............<content of readme.txt>.......
If the contents of the file are too long, you can click space bar to show next page. You can enter 'ZZ' (upper case Z twice) to quit viewing the file. You can also navigate by using the arrow keys.
Second, execute 'get' to transfer the file to your local machine and read it from there. This is a bit of a hassle but it's a sure fire way to work
If you have any questions let me know and I will do my best to help you!