You are not logged in.

#1 2009-08-16 10:32:46

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

How to copy files to another computer directly with MC?

Hello,
I use MC for everything. I need to copy big file (bigger than free space in root partition) on another machine. So I fire up MC, login to the machine and press <F5> to start copying file. First MC copy the file to /tmp/ (why???) and then begin the *real* copying to the machine.
So the whole proccess is slowed-down and also need free space bigger than the file I want to copy.
Can I copy files to another computer directly with MC? Thanks

Offline

#2 2009-08-16 11:30:12

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: How to copy files to another computer directly with MC?

I don't use MC, and I don't know how you've got it accessing the other machine. But in case you're not using this method, you could give it a try: it's a matter of mounting the remote fs using sshfs. Then MC should see the other machine's drive as just another local drive, then perhaps it won't first copy to /tmp. Instructions on wiki: http://wiki.archlinux.org/index.php/Sshfs#Tips.

Offline

#3 2009-08-16 11:42:51

GerBra
Forum Fellow
From: Bingen/Germany
Registered: 2007-05-10
Posts: 207

Re: How to copy files to another computer directly with MC?

AFAIK the reason for this (copy in /tmp) is how remote access is implemented in mc. For ssh it uses the old, buggy fish protocol/lib). Don't know if the same happens when using implemented smb or ftp transfer.
Mc's virtual filesystems are today not the "state of the art" anymore ;-)

To avoid this you could either use nfs or smb/cifs and mount the remote share to your local machine.
If a secured transport is needed you could use sshfs as mount on your local machine (and then mc without
the above restrictions). Or scp/sftp....

Offline

#4 2009-08-16 11:58:53

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Re: How to copy files to another computer directly with MC?

Thanks. I hope virtual FS in MC will be better in version 4.7.

Offline

#5 2009-08-16 20:09:24

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: How to copy files to another computer directly with MC?

Hard hack: To create a /tmp link to the destination directory.

Offline

Board footer

Powered by FluxBB