It stands for Windows Secure Copy. WinSCP is an open-source and free SSH File Transfer Protocol, Secure Copy Protocol, Amazon S3, WebDAV, and File Transfer Protocol client for Microsoft Windows. Its primary task is secure file transfer between a remote server and a local computer. Beyond this, WinSCP provides basic file synchronization and file manager functionality.
It applies the Secure Shell Protocol and supports SCP protocol for secure transfers in inclusion to SFTP. WinSCP development began around 2000 March and is continuous. It was originally hosted in Prague at the University of Economics. It is licensed upon the GNU GPL since 16 July 2003. It's hosted on GitHub and SourceForge.
WinSCP is based on the FTP protocol from Filezilla and SSH protocol from PuTTy implementation. For Altap Salamander file manager, it is available as the plugin, and there presents a third-party plugin for FAR file manager.
Features of WinSCP
WinSCP can behave like a remote editor. It sends the file to a local machine and uses it inside the integrated editor, permitting users for editing it locally because they will with other text files when the user selects a file within the remote file manager. The user may alternatively select local editors that are based on the file extensions. The remote version is automatically updated whenever the document is stored.
Scripting Summary of WinSCP
The software operates an easy scripting language that could be used for automating several operations with the help of a server. The scripting language depends on credentials saved in the local files. It implements the below commands:
It modifies the working directory of the remote.
It calculates the remote file checksum.
It modifies the remote file permissions.
It closes the sessions
It runs the command, i.e., remote shell.
It duplicated the remote file.
It prints the messages onto the script result.
It downloads the file using a remote directory to a local directory.
It closes every session and aborts the program.
It continuously reflects modifications on remote one in the local directory.
It shows help.
It changes the working directory of the remote.
It lists the local directory contents.
It creates a symbolic link for the remote.
It prints the working directory of local.
It lists the remote directory contents.
It renames or moves the remote file.
It makes a remote directory.
It shows and sets the script option's value.
It connects to a server.
It prints the working directory of the remote.
It uploads the files to the remote directory from the local directory.
It deletes the remote directories.
It deletes the remote files.
It retrieves remote file attributes.
It chooses active sessions and lists linked sessions.
It synchronizes a remote directory with a local one.
Strengths of WinSCP
Weaknesses of WinSCP
WinSCP View Options
There are two interface options in WinSCP:
Data transfer using WinSCP
In data transfer, the file protocol is an important factor. In the following section, we will see some pros and cons of the various protocols in WinSCP:
SSH File Transfer Protocol (or SFTP)
File Transfer Protocol (or FTP)
Secure Copy (or SCP)
Web-based Distributed Authoring and Versioning (or WebDAV)
How to install WinSCP in Ubuntu?
WinSCP is famous for its stability and easy-to-use interface with every other aspect it's offering to easily send data to the FTP server and installing the same from there. WinSCP also could be used by the command line, although this FTP by SSH client provides a graphical user interface for making it easy for everyone.
The support for drag and drop for folders and files is there which enables the data transfer easy and for it just like Filezilla, WinSCP provides a two windows design as well. One is to show every file available on the local drive of the computer while the other is used for the remote server. Also, WinSCP graphically shows three structures.
Installing WinSCP Client
Filezilla is however already present natively for installation in the Linux operating system. But if we wish to need the WinSCP FTP client then it is possible to utilize it just like any other native application of Linux.
The following steps will be similar for earlier versions of Ubuntu like Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 19.04 including MX Linux, Elementary OS, Debian, and Linux Mint. If we wish to use this article for Red Hat and CentOS-based Linux distributions, then the difference will be there to install Wine.
Step 1: Open the terminal window
We need to use open the command line window for installing most of the programs in Linux. Therefore, we will open the terminal window on our Ubuntu system by using the Ctrl + Alt + T shortcut keys.
Step 2: Installing Wine
Step 3: Downloading WinSCP FTP Client
We will download the Windows version available on the official website of WinSCP because there is no official WinSCP version for Linux. After that, we will utilize the Wine in the upcoming step for installing it. So, we need to open our browser and visit the official website of WinSCP.
Step 4: Installation of WinSCP
Now, we need to get back to our terminal window, and as we know that whatever we download using the browser goes by default to the Downloads folder. Hence, we first need to switch to that folder. The command is as follows:
Step 5: Execute WinSCP Exe File using Wine
To check every file type, we need to enter the following command in the terminal window:
We will now see the executable file of WinSCP, we need to use that using the Wine command for installing it on our Linux operating system.
The command is as follows:
Step 6: Choose Install Mode
A software installation wizard will occur, we need to choose the "Install for all users" option and continue.
Step 7: Setting up WinSCP
Press the Accept button for agreeing to terms and conditions.
Step 8: Typical installation
Choose the "Recommend Typical Install" option that will configure the target folder automatically for setting up WinSCP and every other component.
Step 9: Interface selection
If we wish Filezilla-like the two-panel interface to get both remote and local directory on a single screen, we need to select the default one, i.e., commander.
WinSCP for Ubuntu Applications and Desktop shortcut
We need to go to the search bar and search "WinSCP" on the Ubuntu system once the installation process is completed. We need to simply double-click on the application to run as we find it.
Also, a desktop shortcut will get automatically created. The user needs to right-click over the icon and choose the "Allow Launching" option to use the application.