Skip to content
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

Closed
ghost opened this issue Oct 13, 2016 · 87 comments
Closed

Add FTP Syncing #13643

ghost opened this issue Oct 13, 2016 · 87 comments
Labels
feature-request Request for new features or functionality

Comments

@ghost
Copy link

ghost commented Oct 13, 2016

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.

@bpasero bpasero added the feature-request Request for new features or functionality label Oct 13, 2016
@bpasero bpasero removed their assignment Oct 13, 2016
@ggregoire
Copy link

ggregoire commented Oct 17, 2016

2 extensions provide what you are asking for:

Hope it helps you.

@joaomaridalho
Copy link

None of the plugins compare to a native FTP Solution like Netbeans, VS etc...

@LawJolla
Copy link

LawJolla commented Dec 1, 2016

@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.

@joaomaridalho
Copy link

@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

@LawJolla
Copy link

LawJolla commented Dec 1, 2016

@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

@joaomaridalho
Copy link

Thanks @LawJolla I will look into it

@technbuzz
Copy link

@ggregoire for some reason these two packages slow down my VSCode. So the only way to go is to wait for built support.

@realeeh
Copy link

realeeh commented Dec 14, 2016

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.

@josemi-ca
Copy link

+1

This was one of the most requested features on UserVoice: https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7752729-ftp-editing

@ghost
Copy link

ghost commented Feb 2, 2017

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...

@liambaloh
Copy link

liambaloh commented Feb 5, 2017

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.

@VaclavElias
Copy link

+1

@emkographics
Copy link

+2
This would be deal breaker. I'm trying to stop using coda as i keep going back to it due to the remote ssh folder view that allows direct editing on the server.

@LawJolla
Copy link

@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 🥇 )

@ArkhipovK
Copy link

+3
The ftp-explorer is indispensible. Also as password hiding (inside config) and multiserver manager.

@ghost
Copy link

ghost commented Mar 30, 2017

+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.

@realeeh
Copy link

realeeh commented Apr 3, 2017

Regarding FTP deploy/download, I suggest using VS-Deploy

@ghost
Copy link

ghost commented Apr 3, 2017

There is no remote file browser like the explorer sidebar in VS-Deploy

@liambaloh
Copy link

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++.

@Fire-Brand
Copy link

+1

1 similar comment
@yolo2013
Copy link

+1

@yolo2013
Copy link

yolo2013 commented May 17, 2017

@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.

@manuman94
Copy link

+1

5 similar comments
@ajmariduena
Copy link

+1

@keywest1
Copy link

+1

@keepalot
Copy link

👍

@imnickvaughn
Copy link

+1

@wuwb
Copy link

wuwb commented Dec 3, 2017

+1

@acidoxee
Copy link

acidoxee commented Dec 6, 2017

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

@khimaros
Copy link

khimaros commented Dec 6, 2017

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

@frank-dspeed
Copy link

frank-dspeed commented Dec 15, 2017

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

  • use a taskrunner
  • if your a nodejs user use the package.json that already exist
  • if your a php user write some bash scripts or php scripts for deployment
  • and so on.

Greetings.

Background info

Now 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.
for ftp sync there are tons of ftp clients that do auto sync on file changes you only need to run and configure it once.

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

@einord
Copy link

einord commented Dec 15, 2017

@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.

@frank-dspeed
Copy link

frank-dspeed commented Dec 15, 2017

@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 info

Now 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

@einord
Copy link

einord commented Dec 15, 2017

@frank-dspeed It all comes down to usability.
If a significant group of the users will benefit from a feature when working with an application, and it will not disrupt the workflow for those not interested, it might be a good idea to implement it.

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.

@frank-dspeed
Copy link

@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!

@ghost
Copy link

ghost commented Dec 15, 2017

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.

@TomS-
Copy link

TomS- commented Dec 15, 2017

@frank-dspeed What?

next we build a operating system into VSCODE=? and as Arcade Gaming is importent

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.

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!

I think there should be laws against your awful grammar.

@khimaros
Copy link

Interestingly, if Live Share could be run headless, it could be used to power some of the same use cases as SFTP.

@frank-dspeed
Copy link

@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?

@emkographics
Copy link

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.

@frank-dspeed
Copy link

@emkographics sounds like a perfect use case for mounting a sftp/ftp folder?

@einord
Copy link

einord commented Dec 17, 2017

Please, this is a request that several users would benefit from, and would help them in their work.
Of course you can solve a problem in multiple ways, and some may even be better than the requested feature sometimes. But as long as a big enough group of people would benefit from this it is a good idea to implement it.

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.

@frank-dspeed
Copy link

frank-dspeed commented Dec 18, 2017

@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.

  • Will supply Development Plan and Lead the Development as also Implament Coding Style and all the needed overhead of a accepted core project.

@TomS-
Copy link

TomS- commented Dec 18, 2017

@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.

@pwwang
Copy link

pwwang commented Dec 18, 2017

@TomS- +10
@frank-dspeed Just stop commenting if you haven't really worked on a project that needs remote editing. You just don't understand what kind of convenience it will bring to us if you can just simply operate the remote files/folders on the sidebar.

@ghost ghost closed this as completed Dec 19, 2017
@SteffNC
Copy link

SteffNC commented Dec 22, 2017

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
BUT:
The missing support for FTP over TLS is simply my reason not to use that.
Maybe someone is able to change the node module jsftp that it supports FTP over TLS?
Cheers

@javicorvus
Copy link

@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.

@suzeeparker
Copy link

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

  • I've installed ftp.simple,
  • I've watched the YouTube video,
  • I've created a SFTP config for a remote server in the ftp-simple-temp-json, and
  • I've run the command: Open the file directly from FTP server, among others.
  • I'm using SFTP, not FTP,
  • I've tried a site with a UserID and Password, and
  • I've tried a site with a certificate key,
  • I can SSH into the server from the command line,
  • I'm on a Windows 10 machine

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.

@suryasr007
Copy link

As @SteffNC mentioned, The atom remote-FTP is fully matured and solves every problem mentioned above. I use it every day.
If someone could able to port it to VS code, It would be benefit to VScode community

@Adobe-Android
Copy link

I'd also be interested to see a more native implementation that rivals Visual Studio.

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 2, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests