Solved

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

Posted on 2013-11-05
5
1,421 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no backā€¦
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

816 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now