FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problems uploading through FTP

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
Bruno De Barros



Joined: 29 Jul 2009
Posts: 4
Location: Wexford, Ireland

PostPosted: Wed Jul 29, 2009 9:47 am    Post subject: Problems uploading through FTP Reply with quote

Yesterday, I installed Net Beans. My god, it's awesome. Thousands of times better than Zend Studio, no possible comparison. And it even had remote synchronization, which was incredible! BUT. It stopped working, when I updated my Net Beans. I don't know if it was the update, because I uninstalled it, and then installed it again, but without updates, and it didn't work.

I get:
Quote:
Cannot logout from server ftp.mywebsite.com.

Reason: Connection reset by peer: socket write error


On the IDE Log, there's a massive log about how it couldn't write, read, or disconnect, or do anything at all:
Quote:
FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Error while storing file index.php.new
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.commons.net.telnet.TelnetInputStream.__read(TelnetInputStream.java:114)
at org.apache.commons.net.telnet.TelnetInputStream.run(TelnetInputStream.java:535)
[catch] at java.lang.Thread.run(Unknown Source)


And it goes on, but I don't know if you want to know any more. I've googled, and googled. Yes, my FTP Connection details are correct, all my preferences are exactly the same as they were before, they were working before, and they're not anymore. On FileZilla, the FTP works perfectly, just not on Netbeans. Any ideas?

Thank you in advance for your help.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Tomas Mysik
Posted via mailing list.





PostPosted: Wed Jul 29, 2009 11:00 am    Post subject: Problems uploading through FTP Reply with quote

Hi,

Dne středa 29 července 2009 11:48:08 Bruno De Barros napsal(a):
Quote:
Yesterday, I installed Net Beans. My god, it's awesome. Thousands of times
better than Zend Studio, no possible comparison. And it even had remote
synchronization, which was incredible!

thanks a lot for your positive feedback!

Quote:
BUT. It stopped working, when I
updated my Net Beans. I don't know if it was the update, because I
uninstalled it, and then installed it again, but without updates, and it
didn't work.

I get:
Quote:
Cannot logout from server ftp.mywebsite.com.

Reason: Connection reset by peer: socket write error

On the IDE Log, there's a massive log about how it couldn't write, read, or
disconnect, or do anything at all:
Quote:
Quote:
FINE [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Error
while storing file index.php.new

java.net.SocketException: Connection reset

at java.net.SocketInputStream.read(Unknown Source)

at java.io.BufferedInputStream.read1(Unknown Source)

at java.io.BufferedInputStream.read(Unknown Source)

at java.io.BufferedInputStream.fill(Unknown Source)

at java.io.BufferedInputStream.read(Unknown Source)

at
org.apache.commons.net.telnet.TelnetInputStream.__read(TelnetInputStream.
java:114)

at
org.apache.commons.net.telnet.TelnetInputStream.run(TelnetInputStream.jav
a:535)

[catch] at java.lang.Thread.run(Unknown Source)

And it goes on, but I don't know if you want to know any more. I've
googled, and googled. Yes, my FTP Connection details are correct, all my
preferences are exactly the same as they were before, they were working
before, and they're not anymore. On FileZilla, the FTP works perfectly,
just not on Netbeans. Any ideas?

IMHO it does not seem to be a problem in NetBeans... However, I can be wrong,
of course but if it used to work for you, something simply _was_ changed. Do
you use any firewall? If yes, is it configured correctly? Could you try to add a
new remote server and test the connection? Is the remote directory writable
for you?

BTW

Quote:
Connection reset by peer

means that the problem is (likely) on the other side...

HTH,
Tomas
--
Tomas Mysik
address-removed
Back to top
Bruno De Barros



Joined: 29 Jul 2009
Posts: 4
Location: Wexford, Ireland

PostPosted: Wed Jul 29, 2009 11:14 am    Post subject: Reply with quote

Tried with another remote server, and it was able to create directories (on the remote server, the directory of my files didn't exist, so netbeans created it), but it failed uploading the file, same problem as before. I turned off my firewall completely, to make sure it wasn't that, and it still didn't work. Sad

Yeah, I thought it could be on the other side as well, but now I'm confused, because it didn't work not even with my other server :\
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Tomas Mysik
Posted via mailing list.





PostPosted: Wed Jul 29, 2009 12:58 pm    Post subject: Problems uploading through FTP Reply with quote

Hi,

Dne středa 29 července 2009 13:15:03 Bruno De Barros napsal(a):
Quote:
Tried with another remote server, and it was able to create directories (on
the remote server, the directory of my files didn't exist, so netbeans
created it), but it failed uploading the file, same problem as before. I
turned off my firewall completely, to make sure it wasn't that, and it
still didn't work. :(

Yeah, I thought it could be on the other side as well, but now I'm
confused, because it didn't work not even with my other server :\

hard to say what's wrong... could you try to enable/disable Passive Mode (in
remote connection settings)?

Tomas
--
Tomas Mysik
address-removed
Back to top
Bruno De Barros



Joined: 29 Jul 2009
Posts: 4
Location: Wexford, Ireland

PostPosted: Wed Jul 29, 2009 1:09 pm    Post subject: Reply with quote

Thank you ever so much, Tomas!! Very Happy Thank you, it fixed it! All I had to do is enable passive mode! Smile Thank you, it's fixed now Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB