Solved

can winscp open a rar file on a remote server without me copying and pasting

Posted on 2013-11-05
5
1,454 Views
Last Modified: 2013-11-07
using windows winscp ftp tool latest version

I want to open a .rar file on godaddy.com shared linux server as a folder

so folder.rar becomes /folder


I do not want to copy paste from my desktop
0
Comment
Question by:rgb192
5 Comments
 
LVL 16

Accepted Solution

by:
AlexPace earned 167 total points
ID: 39624530
An FTP client must download a .rar file before it can extract the archive.

You may find an FTP client that hides this from you as a user.  I've seens ones that offer to let you edit the file "on the server" but what they really do is download a copy of the file and then upload your change.
0
 
LVL 13

Assisted Solution

by:Daniel Helgenberger
Daniel Helgenberger earned 167 total points
ID: 39624751
scp alone cannot do so, as the name suggests it can only copy files. Its not clear to me whatever you really use WinSCP with SFTP or FTPS. I assume sftp for now.

To open files on the remote system the commands would need to executed on the remote system as well.
There is SSH for that. Use ssh, or Putty on Windows, to login your remote host. If there is an unrar tool installed (which will be not often the case on linux to my knowledge) you can list and open it directly on the remote server. If you have root access to that system, for instance it is a virtual machine belonging to you, you can also install rar tools.

To help you further (witch shell commands) I would need the linux distro and version running on the remote host.
Note, putty will most certainly use the same credentials as winscp to login the remote host.
0
 
LVL 44

Assisted Solution

by:Darr247
Darr247 earned 166 total points
ID: 39625560
Are you sure unrar is installed on the server godaddy is hosting?
Is the /folder path stored in the RAR file already?

If so, once you're SCP'd in, use Commands -> Open in PuTTY
then use
unrar x folder.rar

If the path isn't stored in the RAR file, then use
mkdir folder
mv folder.rar folder
cd folder
unrar e folder.rar


If you get an error message about putty.exe not being found in \Program Files\WinSCP\PuTTY\ or \Program Files (x86)\WinSCP\PuTTY\, then you need to download it from http://winscp.net/download/putty.exe and put it in the folder where WinSCP wants to find it.
0
 

Author Closing Comment

by:rgb192
ID: 39629560
ssh is the best idea. Thanks
0
 
LVL 44

Expert Comment

by:Darr247
ID: 39629574
WinSCP uses SSH (port 22) by default... if you've gone to the trouble of generating an SSH key on the remote machine, it will even prompt you if you want to store that key for future use.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question