19

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?

  • 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
10

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

27

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)

These snippets can be extracted to 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 then 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 solutions (OSX, Linux, Windows)

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
## OR on some systems `-out` should be used instead of `-output`
openssl base64 -in myfile.jpg -out myfile.jpg.b64

## encode to base64 on Windows (recent versions)
certutil -encode myfile.jpg myencodedfile.jpg.b64

## decode from base64
openssl base64 -d -in myfile.jpg.b64 -output myfile.jpg
## OR on some systems `-out` should be used instead of `-output`
openssl base64 -d -in myfile.jpg.b64 -out myfile.jpg

## decode base64 on Windows
certutil -decode myencodedfile.jpg.b64 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 | pbcopy
  • 5
    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
  • 1
    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 '16 at 12:30
  • Clipboard share is not supported if the remote client is a mobile host (iOS or Android). – Ross Presser Apr 23 at 11:41
  • 1
    @RossPresser: the answer is more of a joke than an actual solution; a proper solution would be to set up an SSH tunnel, and if one or both machines are behind intranets then use your own jump server — then you can mount the remote machine to your local file system (or the other way round). – ccpizza Apr 23 at 19:49
5

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!

4

Yes, yes you can. As of very recently (This week? This month? Just now today? [This is the first time I've seen it]) Chrome Remote Desktop has moved from being a stand-alone program you download and launch through the Chrome Store, to an in-browser app you launch from a website: https://remotedesktop.google.com.

[Tested 27 June 2019]

With this change comes a brand-new file transfer feature! When you log in you have this menu on the right-hand side of your screen:

enter image description here

If you don't see that, hover on the right until you see a little blue arrow pointing to the left, and click it, as this menu is hide-able.

1. To download from remote to local:

To Download a file from the remote machine to your local machine (host) click the "Download file" button. It will open up a "Download File" file manager window on the remote machine. Choose a file and click "Open." The file is transferred through the network and a GUI file manager "Save File" window will magically open up on your local (host) machine. Choose a location and save the file.

Done. The file is on your local machine in the folder you chose to save it in.

2. To upload from local to remote:

To Upload a file from your local (host) machine to your remote machine, click the "Upload file" button. It will open an "Open File" file manager window on your local machine. Choose a file (bug alert: you MUST click on the file again with your mouse even if it is already selected or else this won't work for me) and click "Open". Under the "File Transfer" dialog shown above, you'll see an "Uploading" indicator show up with a file transfer progress bar. When completed, you'll see the following notification pop up on the bottom of your remote desktop screen: "Upload complete. Look for the file on the remote device's desktop."

enter image description here

Done. The file is on your remote computer's desktop.

protected by Community Jan 22 '16 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 (the association bonus does not count).

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.