Topic "Archive a Directory"

Author Message
BuMmR

Guest


I am trying to archive a directory on a remote server and have it keeps all the folders in tact. I tried using the command " rar a -ep "!?&Enter an Archive Name:?archive.rar!" !& " without the "" and it did archive everything but when I extracted the archive on my local computer it just had all the files (over 6000 files) spread out with no folders. Is there anyway I can keep all the folders that I started with and keep everything within those folders to stay there?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Well, your question has nothing to do with WinSCP. We cannot support rar command here.
Guest




I am using the program WinSCP to archive a directory on a remote server, how is that nothing to do with WinSCP? It is a custom command of WinSCP. I am just trying to figure out how to save the folders when extracted. Is it not capable of doing this?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
WinSCP cannot archive a directory on a remote server.
All it can do (with some limitations), is to execute a remote shell commands.
That does not mean, we should provide support for all *nix shell commands here.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License