-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FTP Syncing #13643
Comments
2 extensions provide what you are asking for: Hope it helps you. |
None of the plugins compare to a native FTP Solution like Netbeans, VS etc... |
@joaomaridalho agreed. I use tired old Coda to deal with remote files for its FTP client. Many of us don't want to sync files -- we want to log on to a remote server and edit them on the server. |
@LawJolla I love VS code but it's one major deal breaker when you use ftp alot, when I'm developing electron applications VS code is simply the best tho |
@joaomaridalho Good news... the docs are horrendous, but the ftp-simple package does what I (and I think you) need. It looked to be a synchronizer, but it allows server editing and saving. Give it a try and let me know -- I'd be surprised if it didn't work for you. https://marketplace.visualstudio.com/items?itemName=humy2833.ftp-simple |
Thanks @LawJolla I will look into it |
@ggregoire for some reason these two packages slow down my VSCode. So the only way to go is to wait for built support. |
I hope there will be a native, built-in FTP feature with multiple servers (selectable default one as well) and directory mapping (so I don't have to browse to which folder I want to sync my file in the project). Something like in PHPStorm. Currently this is the only feature which holds me back from using VSCode at work. |
+1 This was one of the most requested features on UserVoice: https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7752729-ftp-editing |
Testes ftp-simple and ftp-sync. It's ok for automatic file upload on save, which is a good time saver. But I would love to see a ftp browser on the explorer sidebar, that allow me to quickly pick a file on the remote server and edit it. which is something I do everytime in my job, as a lot of web developpers. When you use CMS like drupal, wordpress, or magento, you just don't want to sync the whole project of several thousand of files in order to make minor modifications... |
The two suggested plugins break endlessly and hang on websites with lots of files, fail to maintain sessions, don't upload reliably, etc. They are a cause of a lot of frustration. A native implementation of FTP file download/upload (or a reliable plugin) is the only thing keeping me from moving to VS Code as my main scripting tool. Ideally, I'd like to have a remote file browser, which only ever fetched the file and folder names contained in the currently selected remote folder (not the whole file structure) and only one level deep - so it would not fetch the file and folder names of the subfolders in the currently selected folder until the subfolder is selected. On double-click it would download the clicked-on file from the server and on save it would upload it. |
+1 |
+2 |
@emkographics Agreed. That's the only reason Coda is still on my hard drive. Their FTP implementation is perfect. (The text editor... well, it's fine for 2007 🥇 ) |
+3 |
+1 vote for this. Even if there are external plugins that provide FTP syncing, a good FTP explorer is missing (same than the file explorer, but remotly) and I'm not sure if the VS code architecture can allow external plugin to implement that. |
Regarding FTP deploy/download, I suggest using VS-Deploy |
There is no remote file browser like the explorer sidebar in VS-Deploy |
Here is a visual representation of precisely how I would like this to work: http://l1m.eu/f0uv2qm3 (video) I've gone back to Notepad++ as a plugin for it adds precisely the capability I want and that's worth more to me than the benefits VS Code has over Notepad++. |
+1 |
1 similar comment
+1 |
@realee94 vs-deploy is so sloooooooow..... coda 2 and Webstorm is better than all vs code plugins now. PS:It gonna be fine when I set checkBeforeDeploy to false. |
+1 |
5 similar comments
+1 |
+1 |
👍 |
+1 |
+1 |
Please give a thumbs up on the first post of this thread instead of "+1ing" in replies, maintainers are not able to sort issues by the amount of "+1" present in the thread, and it clutters the thread |
I've authored a remote SFTP plugin using the proposed FileSystemProvider API available in code-insiders. Check it out here: https://github.com/khimaros/vscode-remote-sftp |
This topic should be closed i think this is totally wrong next we build a operating system into VSCODE=? and as Arcade Gaming is importent while building and running CI tests we should insert a PS3 Emulator?. Deploy your vscode projects
Greetings. Background infoNow days developers get confused about the ability's they got as they can run - windows inside linux and versa and browsers in browser as also any code lang in any code lang. But general its importent to understand!!!! A Application should do 1 Thing and do that good. No One wins if we replicate any function into anything where it not belongs to. I Really feel bad about all that because soon we will get whole games for our code editors that we could play with real 3d engines? This scares me really off when i see all the +1 |
@frank-dspeed I disagree. With the same kind of logic IDEs should not exists, since it's better to use separate applications for source code editing, compiling and debugging? In a modern source code editor where a lot of code is on the web and often on an FTP, this functionality can greatly improve efficiency. And as an example, if a separate ftp client is used listening for file changes, it is a lot harder when using git to determine a selected branch that should be uploaded only. |
@einord i disagree for the same reason as git is already used you should setup general CI tests and Deploy from them if they pass as we do with the Linux Kernel the IDE should not matter for Deployment its a Code Editor with Coding Helpers it don't Replaces all that. Background infoNow Days software gets runned in diffrent Environments for example diffrent php versions and so on your IDE should not Integrate all that you will always need a Deployment structure to Enable Distributed Development |
@frank-dspeed It all comes down to usability. For a lot of users this is very useful. Maybe they are maintaining a simple web site where testing or complicated deploy processes is not the case. They just want to publish the site from the master branch (or no branch at all for that matter), whenever they feel done with their work. I have a LOT of cases where this would help me a lot, where I just want to quickly upload my changes when done without the hassle of finding and configuring a separate application to sync my files for each project. Also, please do not spam emoji reactions on critics just because you disagree. |
@einord sorry that don't exist and leads to bad coding Practice i can't push this kind of work ethic on the Internet i will not tolerate such flows and will blame and even law SUE in the US and EU any Developers doing such stuff on client work! |
Completely agree with @einord (and so, disagree with @frank-dspeed). When you develop web application, ftp sync is essential and having it integrated to a sidebar can have several benefits over using an external application. Just the fact to have the FTP remote access embeded to the IDE sidebar let me do that 2 functions in only one screen, letting the second screen free for another useful application. Sounds anecdotic ? Maybe but actually, this is THE missing feature that prevent me (and all developpers in my company) to use VScode in my everyday job and I prefer to use ATOM just because there is that FTP sidebar (whereas globally, I prefers VScode). So, finally, if a feature prevent a lot of developpers to adopt the application, it would be an error to ignore them and letting them to use concurrent app. |
@frank-dspeed What?
I'm sorry, but that's just a silly comparison. I'm not going to jump into debating with you why Remote FTP access is good. I don't need to. Surely all the "+1" and people thumb's up-ing the OP is enough. For what reason you are against adding new features is beyond me. All I'll say is, It's like saying this new Live Share (https://code.visualstudio.com/blogs/2017/11/15/live-share) is silly because it can all be done in Git. Everyone has their own way of working. Some people who work alone (freelancers) and on multiple computers (freelancers) like to host their development server using something like Digital Ocean rather than developing locally and using something like Docker.
I think there should be laws against your awful grammar. |
Interestingly, if Live Share could be run headless, it could be used to power some of the same use cases as SFTP. |
@Alex360hd why don't u just use the integrated terminal and create a sync batch that runs your favorit sync to upload your changes to the FTP? There are tons of clients for that it means round about 1 line of code 1 extra file that also holds deployment information? is that really blocking? |
No, @frank-dspeed, no. We want to click on, open, and close things, browse through directories using the UI, and use ctrl+s to save right then and there, on the spot, in real time. Why? We just do. This doesnt have anything to do with making live code changes on prod. Im not sure how you came to this assumption in first place. Other IDEs out there support it. I've used all sorts of sync solutions and plugins on this one and it's simply not satisfying. |
@emkographics sounds like a perfect use case for mounting a sftp/ftp folder? |
Please, this is a request that several users would benefit from, and would help them in their work. This is not a discussion about how to solve a problem, it is a feature request people would be happy to see in a (hopefully soon) future update. |
@einord ok i accept that sure but its also importent that a lot of people understand that the current problem of open source is not about missing features its about missing knowleg about the existing tech. Duplicating functionality all over the opensource world in general is waisting time of tons of developers that could focus on new edge tech and not 70 year old ftp Tech. And at last i think No One here is working on a Full Flagged FTP Client in NodeJS that Integrates into VSCode but as all in here are developers they can integrate what ever they like and fits the needs. as own VSCode Extension. Also most of the Atom Extensions are easy to Convert as its all JS. And its not about who is right who is wrong this is simply a request to write and integrate a FTP CLIENT something that takes some years of work for a dedicated developer and maybe some month for a good team and then needs maintenance of about 10 + developers this numbers are coming from existing projects where every month much more people work on. I am Free to Create a Repo for the extension that later gets merged into the final product if you find 15 plus people that spend 8 hours a week on that.
|
@frank-dspeed You are getting increasingly annoying. Where did you get them numbers from? There are plenty of FTP extensions available: https://marketplace.visualstudio.com/search?term=ftp&target=VSCode&category=All%20categories&sortBy=Relevance I very much doubt that these are manned by 15+ people spending 8 hours a week over years of work. All people are asking for is a remote file tree, which is already in the works with VSCode in which one of the developers for VSCode created an FTP as an example (https://code.visualstudio.com/updates/v1_17#_preview-remote-file-system-api, https://github.com/jrieken/ftp-sample). Now if you would like to explain to the developers of VSCode why they should stop working on this go ahead. However, if you aren't prepared to do that, then please stop commenting nonsense. |
@TomS- +10 |
Actually the ftp-simple extension https://github.com/humy2833/FTP-Simple is almost doing the same job like the remote-ftp for Atom https://github.com/icetee/remote-ftp |
@SteffNC ftp-simple is a great extension, I can add another reason to use it at your own risk : Contents Erased Issue , my solution so far is to use FreeFileSync and synchronize a local copy of the project with the remote. |
I'm trying to use ftp-simple (see below). Is it true that Microsoft is developing an internal capability, and that they are the authors of ftp-simple -- keeping it in sync with their development? I will second the need for editing remote files in cloud servers. VSCode is close to providing a UI with a file explorer on the left, an editor that can silently download, save and upload remote files in the middle pane and an SSH shell at the bottom to run commands. The first time I saw such a clean UI was SSH Explorer, even though Coldfusion and Frontpage came close. Notepad++'s NPP-FTP plugin currently creates this ability. Here is what I've done so far --
But nothing happens -- no messages as sent in the video. Any ideas about what is going wrong? Is there a log file that I can look at? Thanks, Sue. |
As @SteffNC mentioned, The atom remote-FTP is fully matured and solves every problem mentioned above. I use it every day. |
I'd also be interested to see a more native implementation that rivals Visual Studio. |
Please, I would be grateful if you were to add FTP uploading/downloading from VS code, I use VS 2015 but if you add this, I would immediately switch.
I think a lot of people would like this feature.
Sincere thanks.
The text was updated successfully, but these errors were encountered: