Upload single file or directory via FTP

Hi all,

Is it possible to upload selected files or directories via Rider? I can't seem to find any option to do this, other than the "upload here" option in the Remote host window which uploads everything.

From looking through the Webstorm docs, it seems this functionality is available in that, but not in Rider: https://www.jetbrains.com/help/webstorm/uploading-and-downloading-files.html#Uploading_and_Downloading_Files-10-procedure

Can this be done in Rider?

Thanks,
Andrew

0
5 comments

Hi Andrew,

There is no way to have deploy actions in Rider's context menu, unfortunately. However, there is a way to add those actions to Rider's Tools menu. Please take a look at https://youtrack.jetbrains.com/issue/RIDER-34815#focus=streamItem-27-3777982.0-0

If you need any help with the guide, please let me know.

0

Hi Julia,

Thanks for this. I already have the Remote Host window set up - I can see there is an option to "upload here" which uploads everything.

There doesn't however, seem to be an option in Rider to upload a single file or directory from the Solution or File System windows.

Whereas, in WebStorm in the Project view, you can right click on an item and there is a Deployment sub menu to do this.

Is it possible to enable (or even add) this functionality to Rider?

0

Andrew,

Sorry for misleading you. The above workaround works as well, but it only adds `Tools -> Deployment` item to the main menu. However, one can select a file or directory in the solution explorer and upload it using the main menu: `Tools ->Deployment ->Upload to...`.

Answering your question about Solution context menu, there is a way to add deployment actions there as well. Here is a how-to:

  1. Open File | Settings | Appearance & Behavior | Menus and Toolbars settings page
  2. Expand Solution view popup menu item, and select any child element in it. You new action will be added next to it.
  3. Press `+` and Add Action
  4. Find Deployment category and press Ok
  5. Save settings. Now you'll have the same functionality in the context menu, as in WebStorm.

Please let me know if you have any questions.

0

Hi Julia,

Thanks for this, it works perfectly. Just what I need :)

Regards,

Andrew

0

Thanks for confirming it, Andrew.

Have a nice day!

0

Please sign in to leave a comment.