Jump to content

Archived

This topic is now archived and is closed to further replies.

jwilson122

netbeans???

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Right click on project in project explorer, choose 'Properties', select 'Run Configuration' branch, select 'Remote Web Site' from 'Run As' dropbox, configure your connection

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Maybe there is. What's confusing about it?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.