Post a reply

Tip: Styles can be applied quickly to selected text.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

ks

gzip -d archive.tar.gz
tar -xf archive.tar


You can also extract the files with unrar or unzip.
martin

I have realised that you cannot do this with custom commands yet.
I have filed an improvement to allow this. Also I have written guide for accomplishing this using scripting.
ks

Ok, thanks.
martin

ks wrote:

As for scripting, I wish I could use it but as far as I understand this is only possible with the console version? I cannot run some script commands in an open WinSCP window, can I?

No you cannot, though you can setup a custom command that executes the script for selected files. I'll try to write a guide for that.
ks

Ok, I read the comments, I tried enabling SSH compression but that just didn't change anything - the number of transferred bytes and the speed are the same. Perhaps compression should be enabled at the server.

As for scripting, I wish I could use it but as far as I understand this is only possible with the console version? I cannot run some script commands in an open WinSCP window, can I?
ks

That's great! :wink:
martin

Re: Auto compress files

Thanks for your post. This request has been added to tracker.
ks

Auto compress files

Hi.

Is it possible to set up autopacking downloaded files? For ex., before downloading, run

tar -cvj -f tempfilename.tar.bz !&

for the selected files, then do download the tar.bz, then transparently unpack it (or maybe leave as is) with a chosen (local) program.
Both remote and local commands should be configured.
I see it as an extended custom command that applies both remotely and locally.

Point is I do the thing too often manually (pack - download - unpack).