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
Please sign in to leave a comment.
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.
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?
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:
Please let me know if you have any questions.
Hi Julia,
Thanks for this, it works perfectly. Just what I need :)
Regards,
Andrew
Thanks for confirming it, Andrew.
Have a nice day!