What is FTP and how to use it?
FTP, which stands for File Transfer Protocol, is the File Transfer Protocol. As can be understood from its name, it is a protocol that allows the transfer of files between two computers connected to the internet and the name given to the application that serves this process. For example, files that are requested to be located on a website can be transferred to servers via FTP.
When transferring files from one computer to another computer, the interaction with that computer is established at the same time
File retrieval/sending operations are performed between two computers with the help of a series of commands provided by the protocol.
What is needed to do FTP?
Internet address of the computer to which we will connect,
User number, password, if any, related to the account we want to access files on the computer to which we will connect,
A computer with Internet access, with FTP software on it
On the computer to which we will connect, an FTP service program that works to interpret FTP protocol commands, i.e. an FTP site, is required.
Use Of FTP
General use of ftp is <address of the machine to be made ftp>. After that, when you connect to the corresponding computer, you are prompted for the user number and password. Then, it is connected to the user’s machine. In this way, in an interactive environment, file operations can be performed between two machines by giving some commands, as well as some basic file/disk operations on the connected machine.
cd: directory replacement. Use (cd <directory name>) to switch to the previous directory; (cd ..) usable.
PWD: gives the name of the current directory.
dir: used to not list files in the current directory.
ls: if there are too many files in the Directory, this is a page-by-page list command and a short show of files. Use; ls-lr: detailed reverse alphabetical listing.
get: is the file import command. Usage; get <File – Name > (<name after import>)
the name may remain the same.
mget: command to import multiple files. For example: mget *.zip mget a*.*
put: is the file Send command. Use; put<file-name > (<send-place – name>
mput: the command is to send multiple files.
ascii: specifies that ASCII is used as the transfer mode for file transfers.
binary: used to specify that Binary mode is used for file transfers. So:
archive files (zip,arj,z, zoo v.as b),
executable programs(. exe, like com),
image format programs, such as gif, jpeg, wb),
This command is used before it is received/sent via FTP.
delete: this is a command to delete the desired file in a location made by FTP. Its usage is delete<file – name>.
mkdir: the command to create a new directory where FTP is made is MKDIR.Its usage is mkdir < directory-name>.
rmdir: FTP is a command to delete an empty directory where it is made. Its usage is rmdir <directory – name>.
lcd: allows you to change the directory on your own machine without leaving the FTP environment.
close: closes only the corresponding connection without leaving the FTP environment.
quit: this is the command used to exit the FTP environment and close the connection.
Some FTP centers have the ability to send by compressing an entire directory. For example, a subdirectory named linux, GET linux linux.we can get it compressed in a zip form. However, this feature may not be available in every FTP Center.
How to do FTP over the Web?
The recent general trend is that all internet services are accessed from more resourceful and interactive environments and different services are used interactively. The most popular of these environments is the World Wide Web. Many internet services, including FTP, and many additional features are available through these environments. Therefore, another way to do FTP is to do FTP over the Web. This method is easier to use. It is possible to accidentally import a Binary file in ASCII mode easily with standard FTP programs. Such drawbacks are eliminated in FTPS made over the Web. In addition, because of its useful features, such as Bookmark and cache, there are some amenities that these environments provide.
It is also important to note the graphical interface feature that most Web clients provide Dec. This way, as soon as you receive an image file that is in standard image formats, you can also send the image to the screen.
Considerations when doing FTP
EXE, .Please transfer files such as ZIP, etc.in BINARY mode. Generally, the default transfer format in FTP is ASCII.
In Anonymous FTP, when you enter a directory, there are usually ‘readme’ files (sometimes INDEX files) with short description lines indicating the name, size, date, and content of the files there. First, it will help you a lot to take and read these ASCII files.
In Anonymous FTP, please enter your email address correctly as a password. Some FTP centers do not allow you to do FTP if the email address is entered incorrectly.
Always keep in mind that there is a case distinction in Unix. In particular, type the exact names of the files you are going to transfer, and pay attention to the case differences and type the same.
Most popular FTP programs
There are many programs around the world that provide FTP connections. In this part of our article, we will talk about a few programs that are fast, easy and simple to use.
FileZilla is an FTP connection program that is quite simple and fast to use. FileZilla, which is compatible with all operating systems, is a very successful program in both client and FTP server configuration.
If you are a Windows operating system user, WinSCP is one of the ideal FTP programs that you can use. With WinSCP, which supports many FTP protocols, you don’t need any programs.
CyberDuck, a paid FTP program, has a Turkish interface and supports FTP, SFTP, WebDAV, OneDrive and Google Drive. In the same way, you can use it for free.
Transmit is an FTP program with paid and free versions running on the Mac operating system. With Transmit, you can make SSH, SFTP, FTP FTPs connections, you can complete all operations quickly and easily.