Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to transfer files between remotely connected computers with the Google Chrome Remote Desktop plugin?

If not, is there a simple way I can transfer files between connected computers?

share|improve this question
2  
Does this extension even support this feature? – Ramhound Dec 21 '12 at 13:38
    
@Ramhound Looks like it. From the webstore: 'Computers can be made available ... for remote access to your applications and files.' – mcalex Dec 21 '12 at 13:43
    
@Mcalex But that has nothing to do with a transfer though. – Dave Dec 21 '12 at 13:44
    
Yeah I see. I just figured if you could access it you should be able to save it. On closer read, it doesn't look like it is available as a feature – mcalex Dec 21 '12 at 13:48
    
@mcalex - That doesn't indicate files can be transfered. – Ramhound Dec 21 '12 at 13:51
up vote 5 down vote accepted

This can't be done. As a work around, you could always email it to yourself though, or use Google Drive / drop box or similar.

Details about Chrome RDP

share|improve this answer

This is kind of a joke answer but since copy and paste is supported between the target and the host, the geeky way to copy a file without resorting to intermediate cloud storage would be to:

  1. On the source: use any available encoder to convert the file to Base64/UUEncode so you can copy the data with Ctr+C.
  2. On the target: paste the data to a text file and decode it with any available decoder.

Python-based solution

First, on the source machine fire up a Python console and type:

 base64data = open('myfile.jpg','rb').read().encode('base64')
 open('myfile.txt','w').write(base64data)

Next, open the file myfile.txt with a text editor and copy the contents. Then on the target machine paste the contents into a new file named myfile.txt and in a console type:

data = open('myfile.txt').read().decode('base64')
open('myfile.jpg','wb').write(data)

Of course, this can be extracted into shell scripts in order to avoid typing every time.

GUI based solution (Windows)

If you don't have Python or if both your machines are running Windows and you have Total Commander installed then the steps are simpler:

  1. On the source: select your file and the pick Files > Encode file. A corresponding .b64 will be created in the other panel - open it (F3) and copy the contents (Ctr+a, Ctr+c).

  2. On the target: paste into a new file with .b64 extension and then use Files > Decode file.

Command line solution (OSX, Linux)

OSX and most Linux systems typically come with more than one flavour of console base64 encoders. This should work ootb without having to install anything:

## encode to base64
openssl base64 -in myfile.jpg -output myfile.jpg.b64

## decode from base64
openssl base64 -d -in myfile.jpg.b64 -output myfile.jpg

Omitting the -output... part will print to standard output.

Another ootb utility present both in OSX and Ubuntu:

## encode to base64
base64 < myfile.jpg > myfile.jpg.b64


## decode from base64 (Linux) (note the lowercase 'd')
base64 -d < myfile.jpg.b64 > myfile.jpg

## decode from base64 (OSX) (note the uppercase 'D')
base64 -D < myfile.jpg.b64 > myfile.jpg

Piping directly to clipboard (avoiding intermediary files)

It is possible to encode directly to the clipboard if you have the corresponding command line tools on the source/target OS.

On OSX there are the built-in pbcopy and pbpaste, on Linux (in xorg), there is xclip, and on Windows there is clip.exe, which means that encoding a file to clipboard can be simplified to (e.g. for OSX):

base64 < myfile.jpg | pbclip

And finally, if your don't care about privacy, you can use any of the online encoders/decoders which google can find, e.g. https://www.google.com/search?q=online+base64+encoder

share|improve this answer
2  
Even though this does not actually fix my issue. (My file is over 100mb and clipboard will not accept that). I feel I need to upvote this anyway. Just because this answer exists. – WORMSS Jan 12 '15 at 9:37
    
For big files a possible solution might be to (1) compress the file to reduce size (2) split to maximum accepted size, e.g. split -b 10m myfile.zip (just a guess, no idea what the maximum allowed size is) (3) base64 encode the files (4) copy contents one by one (5) decode and re-assemble the parts on the target machine. Even though steps 1,2,3,5 can be scripted, step 4 will still have to be done manually, although I guess even this can be automated with something like Sikuli although this can be get way too ridiculous... – ccpizza Jan 15 at 12:30

Have a look at my Open Source webservice www.cross-copy.net. You simply enter the same codeword in two (or more) browsers to upload/download files between them.

share|improve this answer
    
As of jan 2015 this IS supported both via the extension and the app...using the browser ext. You can send like ou would in say teamviewer (via udp) ...from app assuming both systems have the host installer installed you can use a session in a session c&p are the clipboard – linuxdev2013 Jun 1 '15 at 21:28

To transfer files, just use your Google Drive. You have to be logged into your Google account in order to use Chrome Remote Desktop, so just open Google Drive, drop your file into it. Once it uploads, open Google Drive on your remote computer and pull it out of Google Drive to the desktop or folder of your choice!

share|improve this answer

protected by Community Jan 22 at 13:05

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.