Running PHP project with Remote Web configuration

Today, we added support for running PHP project with Remote web configuration - how does it work? First, you have to decide whether you want to upload sources automatically before running a project or not. This can be easily done in Run Configuration in Project properties.

Then, if you try to Run project (it works fine for Run file, Debug project and Debug file as well),

the already known Upload window is displayed. If it's the first time you run a project, then all the files are selected.


Then, of course, you edit some files and want to run your project again - what will happen?


Comments:

Yeah, It's good..
and if there can filter some files or folders that i don't want to upload to ftp server. such as the .svn folder for svn server. It's some bother to cancel selected one by one...

Posted by fortruth on August 29, 2008 at 08:56 PM CEST #

Hi! I am having problems with the FTP run config on NB6.5B WinVista with a php project. If I try to upload a new project 'test', the project folder is created but no php files are uploaded as there is popup error: "Cannot logout from server ABC.com". In the created folder there is a file named ".pureftpd-upload.48b95463.15.7970.ffa89136" and this is the FTPlog:

220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 4 of 50 allowed.
220-Local time is now 15:08. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER my-user
331 User my-user OK. Password required
PASS \*\*\*\*\*\*
230-User my-user has group access to: my-user
230 OK. Current restricted directory is /
TYPE I
200 TYPE is now 8-bit binary
CWD /public_html/test
250 OK. Current directory is /public_html/test
CWD /public_html/test
250 OK. Current directory is /public_html/test
PORT 192,168,1,102,206,25
200 PORT command successful
STOR index.php
QUIT

Posted by s1m0n on August 30, 2008 at 09:11 AM CEST #

.... sorry, I just needed to set the ftp conn to annonymous. Thanks anyway. PS: great job

Posted by s1m0n on August 30, 2008 at 09:27 AM CEST #

To fortruth:

SVN metadata folders should not be uploaded to a FTP server - if they are, please file an issue:
http://www.netbeans.org/issues/enter_bug.cgi?component=php

Thanks,
Tomas

Posted by Tomas Mysik on August 31, 2008 at 07:48 AM CEST #

I cannot find the option for "Upload Files: On Run." Am I missing something?

Posted by wiggsfly on September 03, 2008 at 07:12 AM CEST #

Hi,

I have the same error with my server.
"cannot logout from server ABC.com
Reason: Connection reset"

I have a remote server that I want to FTP to, but I keep getting this error.

Is there something I'm missing?

Posted by Steph on February 04, 2009 at 11:23 AM CET #

Same problem, server connects successfully, list command is working, traverses all files, but no one is being downloaded; upload works but with same error message at the end (connection reset)

220 xx.xx.xx.xxx FTP server ready
USER xxxxxxxxxxx
331 Password required for xxxxxxxxxxx.
PASS \*\*\*\*\*\*
230 User xxxxxxxxxxx logged in.
TYPE I
200 Type set to I
CWD /core/htdocs/callcenter
250 CWD command successful
CWD /core/htdocs/callcenter
250 CWD command successful
SYST
215 UNIX Type: L8
PASV
227 Entering Passive Mode (xx,xx,xx,xxx,xxx,xxx).
LIST
150 Opening ASCII mode data connection for file list
226 Transfer complete.
CWD /core/htdocs/callcenter/xxxxxxxxx
250 CWD command successful
PASV
227 Entering Passive Mode (xx,xx,xx,xxx,xxx,xxx).
LIST
150 Opening ASCII mode data connection for file list
226 Transfer complete.
CWD /core/htdocs/callcenter/xxxxxxxxx
250 CWD command successful
.....
PASV
227 Entering Passive Mode (xx,xx,xx,xxx,xxx,xxx).
LIST
150 Opening ASCII mode data connection for file list
226 Transfer complete.
QUIT

Final message from FTP: Connection reset

Greets

Posted by Christian on March 13, 2009 at 05:42 AM CET #

In my case this problem was caused by firewall.
Try disabling it.

Posted by Leandro on July 01, 2009 at 06:50 AM CEST #

I confirm it.

Windows firewall five problems like:

"cannot logout from server connection reset"

Disabling it avoid the problem.

On the other side there is a Debian Etch running PureFTDd.

Posted by Gabriel on July 02, 2009 at 03:39 AM CEST #

"/>

Posted by guest on January 15, 2010 at 04:24 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

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

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today