How to Unzip a File in WinSCP

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Image Credit: jakkapan21/iStock/Getty Images

WinSCP is a free SFTP, SCP, FTPS and FTP client for Microsoft Windows operating systems. As well as being a stand-alone program, WinSCP can also be used as a plug-in for file manager programs. Although the primary purpose of WinSCP is to transfer files from one machine to another, the client also contains some scripting and file manager features. One of these is an archive manager, which can be accessed through a "Custom command," which makes use of the client's command-line interface.

Advertisement

Step 1

Load up Win SCP and log in to the FTP account that you use to access the archived file. If the file is on your local machine, you do not have to log in to an account.

Video of the Day

Step 2

Navigate to the location of the file. If the file is on your local computer, do this with the left-hand window. If the file is on a server, use the right-hand window.

Advertisement

Step 3

Right-click the file and click "Custom Commands." A window will appear, with some options for you to configure. If you want to unzip the file to its present directory, type the following into the "Custom command" text field.

unzip -o myarchive.zip "!"

Advertisement

To unzip the file to an alternative directory, use this command:

Advertisement

unzip -o myarchive.zip -d path/to/location

If the file you want to unzip is on the remote server, click the "Remote command" radio button just below the "Custom command" text field. If the file is on the local machine, click the "Local command" radio button.

Step 4

Click "OK" to execute the command.

Video of the Day

Advertisement

Advertisement

references

Report an Issue

screenshot of the current page

Screenshot loading...