Jump to content

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.

Link to comment
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.

Link to comment
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

Link to comment
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?

Link to comment
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 :/

Link to comment
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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