jwilson122 Posted October 28, 2010 Share Posted October 28, 2010 Hey, does anyone know how to have FTP Inside NetBeans? I love Notepad++ that has the plugin called "NppFTP".. Makes it so easy to upload to my server on a simple save of the file! However, I like NetBeans IDE better, but... the downside is I have no idea how to set up FTP in it :/ If you know, please let me know! Thanks. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted October 28, 2010 Share Posted October 28, 2010 PHP projects can easily be deployed from within NetBeans IDE for testing to local or remote servers via FTP or SFTP, or by the use of an upload script for more complex deployments. I didn't investigate as to how you can do it, but it seems that functionality is part of the application. Quote Link to comment Share on other sites More sharing options...
jwilson122 Posted October 28, 2010 Author Share Posted October 28, 2010 PHP projects can easily be deployed from within NetBeans IDE for testing to local or remote servers via FTP or SFTP, or by the use of an upload script for more complex deployments. I didn't investigate as to how you can do it, but it seems that functionality is part of the application. Yeah its a pretty popular application, I'm sure it has the FTP capability! Just HOW! Lol Quote Link to comment Share on other sites More sharing options...
Mchl Posted October 28, 2010 Share Posted October 28, 2010 Right click on project in project explorer, choose 'Properties', select 'Run Configuration' branch, select 'Remote Web Site' from 'Run As' dropbox, configure your connection Quote Link to comment Share on other sites More sharing options...
jwilson122 Posted October 28, 2010 Author Share Posted October 28, 2010 Right click on project in project explorer, choose 'Properties', select 'Run Configuration' branch, select 'Remote Web Site' from 'Run As' dropbox, configure your connection That is RLY confusing... There isn't maybe a plugin or something so I can have a FTP explorer? Quote Link to comment Share on other sites More sharing options...
Mchl Posted October 28, 2010 Share Posted October 28, 2010 Maybe there is. What's confusing about it? Quote Link to comment Share on other sites More sharing options...
jwilson122 Posted October 28, 2010 Author Share Posted October 28, 2010 Maybe there is. What's confusing about it? Well, the files part.. I set up the FTP correct and all.. and then downloaded the one file, then uploaded it again (with a bunch is php mistakes to test it), then it doesn't change my application what so ever.. it didn't overwrite the file like it said :/ But, I think its because of the files thing. I dont know how to get the files and stuff on it :/ Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted November 2, 2010 Share Posted November 2, 2010 From scratch: 1. Ctrl+Shift+N (creates new project) 2. Chose "PHP" (middle box) choose "PHP Application from Remote Server" (right box) 3. Press "Next" 4. Give your project a name like "My Website" or "mysite.com" etc. 5. Choose where you want to save the project 6. Press "Next" 7. Set the project url like "http://mysite.com/" (must end with a slash) 8. Click on "Manage" on the "Remote Connections" line 9. Click "Add..." 10. Give your connection a name 11. Use Type FTP 12. Enter: host name, user name, password 13. Set the initial directory like "/" 14. Click "Test Connection" (if it fails redo steps 12 & 13) 15. Press "OK" 16. For your "Remote Connection" use your newly created connection 17. Enter the upload directory like "/" (step 13 is the root of the connection this line depends on how your server is set up) - mine would be: http://mysite.com/mysite.com/ (http://host/domain/) - others could be: http://mysite.com/ - or even: http://webhost.com/mysite.com/ 18. Press "Next" 19. The server will now try and connect to your site, and get the files. if it fails, you have an error with either step: 12, 13, and/or 17 20. After it finds the files, press "Finish" to download them. When ever you edit the file, just save it (ctrl+s) and it will upload it to the server. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.