SFTP support added

Recently, many of you asked for not only FTP support but also SFTP - yesterday we fulfilled your wish so everyone can easily try it now. Of course, one has to download the development version of NetBeans or wait for the first milestone of the next NB version (after NB 6.5).

Meanwhile, let's setup and use our first SFTP connection...

1. Create a new SFTP connection - create a new Run Configuration (Remote Web Site) and Manage Remote connections.

Create a new connection

Creating a new SFTP connection

2. Provide all the details and test the connection.

Testing SFTP connection

3. Try to upload some files.

Upload file

4. And watch the log if everything goes fine...

SFTP log

5. ... and your files are successfully stored on your server.

SFTP log

6. That's it!

As you can see, the behaviour is the same like for our FTP support so nobody should have any problem with it, I hope. And of course, like every time, please, let us know how you enjoy it and whether it works for you (if not, please report all the issues or enhancements to our IssueZilla, component PHP, subcomponent ftp_support).

Thanks a lot.


Is it stable enough for everyday use? I understand it's a nightly build so I'm not expecting much stability. Thanks, Joaquin!

Posted by Joaquín Fernández Campo on November 18, 2008 at 05:54 AM CET #

The dev build, doesn't contain any changes from NB 6.5 so far. So I think that the dev build now is usable. You can always return to the NB 6.5, if you will save your userdir or user different userdir for the dev builds.


Posted by Petr on November 18, 2008 at 09:21 AM CET #


I took a look at the sftp feature, but I'm missing some features:
- upload only "on run" what is about "on save"?
- possibility to synchronize the local project with the server
- excluding files( and folders ) from uploading( and syncronization )

That's for a first try.

Stefan Sturm

Posted by Stefan Sturm on November 18, 2008 at 11:28 PM CET #

Will it be added as plugin so we don't have to download the development version, but the plugin instead?

Posted by Daniel Dimitrov on November 20, 2008 at 07:20 AM CET #

Hi Daniel,

this is good question, but I don't think so. I you don't believe to the dev builds, then you can wait for the first milestone. I think it's planned for December.


Posted by Petr on November 20, 2008 at 07:28 AM CET #


Write on blog something about sql content assist in php editor - this is nice stuff :)

Posted by Michal on November 21, 2008 at 04:42 AM CET #

SFTP/FTP is good, but this really needs to have up/down SFTP synchronization (like eclipse does) to make the task of managing a remote site easier.

Posted by Tim on December 04, 2008 at 08:15 PM CET #

I agree with Stefan. The feature "Upload on save" is a "must-have" in my opinion.
Since Netbeans supports PHP I miss it really often.

Posted by Christoph on December 16, 2008 at 08:40 AM CET #

1. possibility to add selected folders only
e.g. i want to add folders like includes, class, tools, but not export_files, invoices_files

2. saving file uploads the file - i wouldn't expect any other behavior then this

Posted by uzo on January 28, 2009 at 01:31 PM CET #

Ohh i just need to move linux -> windows. And now try use netbeans. Fist think seems, i like it. PUT i can't work remote files :( (sftp, need all file download, ok this not very big problem)

I can add to upload shortcut ctrl+s and then save and upload work same time. but this ugly upload windows popup (and even focus not OK button) and console come up. Who need this upload console and upload window. Can remove this boring thind.

Posted by kristo on February 05, 2009 at 03:31 PM CET #

It's great that this is being added, but I'm also surprised that this hasn't been an issue before. I mean, it's 2008/2009; what project \*isn't\* run/edited/managed remotely? When we started using ZDE (Zend) some time ago, it didn't have support for SFTP either, and we really had a \*loud\* argument with them about this before it was added.

Of course it should work just like editing local files. Click on a file in the explorer, the IDE checks for an update on the remote, and if updated, ask to re-load. When I switch to the buffer where a remote file is stored, the same thing should be done. Saving should be done immediately on the remote.

We're looking into use NetBeans instead of Zend (based on recommendations from others); but until SFTP is fully functional, it won't happen -- we really need it. For PHP, C/C++, and for general scripting management. It's great for our users that don't know (or don't want to know) about Emacs ;)

Posted by Joaquim Homrighausen on February 17, 2009 at 03:47 PM CET #

+1 for the upload on save.
It's a huge feature that's required.

Could initial folder have a browse button as well? That would make it a lot simpler for non-developers.

Posted by australianmade.com.au on February 19, 2009 at 03:13 PM CET #

I agree with the need for this functionality. I have been evaluating Netbeans to use as an alternative to Quanta Plus but until this works seamlessly it isn't going to happen. Too bad it looks good otherwise.

Keep up the good work.

Posted by Paul O'Rorke on February 21, 2009 at 09:48 AM CET #

I tried this feature whith the 6.7 M2 release, and it works well, but I don't like to write password at every action, and I also don't like to store password at a lot of places. I use ssh with an ssh agent to store my private key when working, maybe Netbeans can use this agent to connect to the sftp server ?

Posted by Gameplayer on March 05, 2009 at 06:30 AM CET #

good job, but wouldn't it be better, when i'm trying to run project, it only offers to upload changed files?

Posted by leo on March 07, 2009 at 06:46 AM CET #

I too have been looking into NetBeans as a full replacement of the outdated but otherwise fully functional ZDE 5.5

The support for remote filesystems (like SFTP) is great, but just doesnt quite cut it yet...

Having to download (all!) files and not being able to use the version control (in my case SVN) on that remote system is a dealbreaker... Now i have to down- and upload all my files from and to my (remote) developmentserver and meanwhile keep a SSH session open to complete my SVN commands... This clearly isnt where its supposed to be (IMHO)

Is there any roadmap for this featureset? (been testing with build 200902231810)

Posted by Robin Speekenbrink on March 16, 2009 at 12:56 PM CET #

I tried sftp today first time and think theres a lot to develop. For example a possibility to synchronise. So that on an upload only newer files will be overwritten. The same for downloads. Or (already said) the upload on save.
Another thing is, that netbeans always ask if the RSA fingerprint should be saved or not. There should be a possibility to save it for every connection to this server. Its annoying to klick on OK each up- or download.

However I want to say you: good job. It's more than no sftp support.

greetings from germany

Posted by benni on March 26, 2009 at 10:42 AM CET #

First of, this is not a flaming of your work, I like to see Netbeans at least getting a step closer to finally replacing ZDE for us. For now it's either Eclipse or Netbeans that our candidates, but I'd rather go with netbeans since Eclipse just seems like it really wants to crash, and I just have a gut feeling (after a lot of tries to switch to both IDEs) that Netbeans is better for me.

As I said we're still using ZDE 5.5 at our Typo3 company because of one thing (well, mainly), it has built in SFTP support and you don't have to create projects all the time.

We administer ~150 Typo3 sites and ~30 self built php (some by other companies) sites spread out on 10 servers. Creating a project for (in typo3's case) something that can't be parsed for intellisense/autocomplete/call-it-what-you-like is just a waste of time, and even if auto completion did work I would probably not even create projects anyway, except for sites I work on alot.

What we need is a simple server-browser like ZDE/Explorer/Tree-view where we can quickly get into business by picking the file in the tree, and when we save, it dosn't come up with a dialog/confirmation-box/progressbar-in-your-face, it just saves. I would imagine that I do ~1000 saves a day so they need to be discrete and fast.

I'm surprised to see others comments about them still using ZDE as well. 5.5.0 is what, 3 years old and discontinued for lesser product filled with bugs.

Posted by Nimmr on March 26, 2009 at 12:48 PM CET #


In my NetBeans IDE 6.5.1 (Build 200903060201) I have no Option "Remote Website (FTP, SFTP)" in Run Configurations -- only "Remote Website (FTP)" -- and I have only one Type-Option "FTP" in the Manage Remote Configuration dialog.

How can I activate the SFTP feature?


Posted by automatix on June 04, 2009 at 08:02 AM CEST #

Thank you ... this has me very helped.

Posted by Webagentur on June 07, 2009 at 03:55 AM CEST #

Are you planning to implement FTPS?

For this time there is no PHP IDE that support this...

Posted by Kamil Rudnicki on June 09, 2009 at 04:22 AM CEST #

SFTP is an awsome addon, but I've small question.
After I download the project, the "go to declaration" option is not working. Is this a known bug or my mistake ?
Is there any method to activate this ?

Posted by Smash on June 10, 2009 at 03:27 AM CEST #

In my NetBeans IDE 6.5.1 I have no Option Remote Website (SFTP).

How can I activate the SFTP feature?.

Posted by guest on July 02, 2009 at 09:58 AM CEST #

Any news about FTPS (FTP over SSL) support? It is much more widely used.

Posted by Olaf on November 30, 2009 at 03:12 PM CET #

I agree with Olaf, the FTP over SSL support is really neccessary, hope you guys can add it.

Posted by Víctor Robles on December 18, 2009 at 12:51 PM CET #


[Windows solution]
To have the remote key automatically imported (and not be forced to press ok every time) just create a known_hosts file in \\Document and Settings\\<your account>\\ folder and it will be added there.

In linux the file should be ~/.ssh/known_hosts but never tried that...yet.

Posted by Alex on January 05, 2010 at 01:22 PM CET #

FTPS / FTPES would be really great!!!!

Posted by Kevin on February 27, 2010 at 05:28 AM CET #

FTPS would be very nice indeed.

Posted by Csaba on April 05, 2010 at 11:12 AM CEST #

this would be great.
Too bad I can't use it, I need FTPS

Posted by cristian on September 28, 2010 at 05:29 AM CEST #

ftp over ssl +1

Posted by vm on February 24, 2011 at 07:07 AM CET #

Neatbeans is a great IDE for PHP, but for some developers FTPS is a must. Is it so hard to integrate it?

Thank you!

Posted by ps on June 17, 2011 at 12:35 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed

This blogs is written by NetBeans developers who contribute to the PHP support mainly.


« July 2016