How to Transfer files to a Linux Target?

Implemented

How to Transfer files to a Linux Target?

avatar

Hello,

I am not very knowlegeable in terms of RDM or its features, so for some that might be a obvious Question.
If you connect to a Windows Machine, you can simply drag and drop files to that Machine and they get copied.
How would you Replicate that mechanism for a Linux Machine? So far i know WINSCP as a seperate Tool,
however its quiet a pain to login to a system via RDM AND Winscp. So is it possible to use Data Transfer functionalities in RDM too?
I've seen a MobaXTerm addon and i know that Moba X Term can transfer files, but i wouldn't know how to use it.

Can someone elaborate a bit, on what ways are possible and which you use?

Thank you very much!

Alessandro Büch

All Comments (13)

avatar

Hi Alessandro,

The simpliest way would be RDP's redirected drives.
In a RDP entry properties, activate either, or both, Redirect Home folder and Redirect specific folder (and click the ... to select which drive to redirect) like so

forum image

You should now be able to use the redirected drive to share files between your local and remote machine.

Let me know if this helps
Regards

Jonathan Lafontaine

avatar

Hello Jonathan,

wouldn't this method only work with windows machines? What would you do, where you to transfer files to a Linux Machine?

Thanks for your Help!

Alessandro

avatar

You are right, this will only work when connecting to a windows machine.
To transfer files to a remote Linux machine, it won't be as easy. You could setup an FTP server and use an FTP session in RDM.
How would you go about it if you were using RDM Windows?

Jonathan Lafontaine

avatar

I am using RDM on windows at my working computer. The Targets are either Windows Machines or Linux Machines. I sometimes have to transfer small files to those machines which is no big deal with windows targets. However if my Target is a linux Machine i have to use programs like WinSCP separatly.

So can i open a SCP connection or something similiar with the already existing connection details in the RDM?

Thanks alot!

Alessandro

avatar

SCP is currently not supported in RDM Linux but as this seems to be a useful feature for you, I'll create a high priority ticket to implement it.

Jonathan Lafontaine

avatar

Thanks a lot Jonathan!

avatar

Hi Alessandro - if you're using the inbuilt SSH Shell, you can use SFTP in session like this:

forum image

It will display a view of your local filesystem and the remote filesystem on the Linux host. You can drag files from Windows Explorer into the folder structure on the Linux host as displayed in RDM, or you can browse your local filesystem in RDM and drag them up to the Linux folder structure on the host.

Unfortunately, I have had it make RDM unresponsive quite regularly when I've closed the session (or it has terminated in the background due to a timeout for example). So, I haven't used this as much as I probably should.

And the "Start minimized" button as shown in the screenshot doesn't work (I'd expect that the folder view on the left wouldn't open at all when the SSH session is started - ie the folders view would only be made available when the SFTP button in the session toolbar is clicked).

It would be great to have a couple of additional tickboxes here actually - the first to choose whether or not the local filesystem is displayed (as in the filesystem from the machine RDM is displayed on) and another to select that the remote filesystem starting location is expanded one level when first connected - ie in my screenshot that shows the starting location as being /, if the box was ticked, this would expand it out to show:
/
/bin
/boot
/dev
/etc
and so on.

avatar

Oh nice, I didn't event know this was an option.
Thank you for chippin' in.

However, don't expect drag and dropping to work on Linux (it might, just don't expect it)

Jonathan Lafontaine

avatar

Thank you very much for the Reply and help! That is what i am looking for, but after a talk with the my RDM Admin, he told me that all ssh connections are by standard Putty sessions, not standard ssh sessions, for stability reasons. I mean the sessions saved in the RDM.

Would it be possible to temporarily change the session type via a, for example, right click menu? similar to how you can temporarily use different credentials?

So that i can use ssh standard or moba x term temporarily for data transfer purposes, would that be possible?

Thanks a lot!

Alessandro

avatar

RDM Linux will use our in house SSH client (which is the default client on RDM Windows) even if the entry is configured to use Putty.

Jonathan Lafontaine

avatar

Thank you for the insight, however, it does not seem like i have the same options non the less:

forum image

avatar

In this case, you will, unfortunately, probably have to wait for the SCP implementation in RDM Linux.

Jonathan Lafontaine

avatar
You are not using an SSH session!

Thank you for the insight, however, it does not seem like i have the same options non the less:

forum image