SubJeff on 29/12/2009 at 11:48
I just got Win 7 and it seems to be going fine.
Until now.
I cannot access any of my sites through FTP. I've used SmartFTP and the command line and I've called the host company. They can access the sites with either an FTP program or through the command line.
I'm baffled.
I've checked and re-checked the addresses and username, copied and pasted them from the ftp details page of my host so I'm sure I'm not just making some simple error. I've set up a special rule in Windows Firewall allowing connections through port 21 and now I'm just getting fucked off by the whole thing.
The error I'm getting, in SmartFTP, is the following.
Code:
[11:42:29] SmartFTP v4.0.1072.0
[11:42:29] Resolving host name "ftp.****.com"
[11:42:29] Connecting to 194.154.164.101 Port: 21
[11:42:29] Connected to ftp.****.com.
[11:42:29] 220 ATLAS/WebFusion FTP server
[11:42:29] USER subjectiveeffect@****.com
[11:42:29] 331 Please specify the password.
[11:42:29] PASS (hidden)
[11:43:29] Timeout (60s).
[11:43:29] Active Help: http://www.smartftp.com/support/kb/74
Then the last bit is:
[11:43:29] Client closed the connection.
or
[11:45:01] An established connection was aborted by the software in your host machine.
Where **** is my website name. And also what my mind is screaming right now.
Any help guys?
David on 29/12/2009 at 12:19
Make sure that the client is allowed through the firewall on multiple ports as more than one port is used.
If that doesn't work, try flicking the connection type from Passive (the usual) to Active.
Al_B on 29/12/2009 at 15:22
You're more likely to get connection problems in Active mode as that requires the server to initiate a connection to your computer through the incoming firewall. In Passive mode both connections should be initiated by your computer to the server. You can also run into additional problems with your router if you're using NAT (normally the case these days) and it doesn't know how to translate FTP traffic correctly.
However, Active / Passive mode shouldn't really affect anything until you actually initiate a data transfer - including a directory listing. You should be able to log in regardless of the setting. If SmartFTP is attempting to perform a directory listing before reporting success then (
http://www.smartftp.com/support/kb/how-to-switch-between-active-passive-mode-f1.html) follow the instructions here to switch to passive mode.
Alternatively, can you connect to an anonymous FTP server? e.g. ftp.funet.fi? You should be able to connect from the command prompt as well as SmartFTP - just use the username "anonymous" and any password.
Don't worry about opening an incoming connection to ports 21 (or 20) on your firewall - unless you're trying to host a FTP server on your own computer, of course. Your computer will choose a random port to use when connecting to the remote server - you don't need to worry about that. As long as your FTP program is allowed to make connections (which, as you're able to get to the login stage it must be) you should be ok.
SubJeff on 29/12/2009 at 16:17
David - I already made sure the Firewall is allowing SmartFTP traffic through, and I've tried in both active and passive modes. Should have said that earlier. I increased the timeout as well.
Al_B - I can get access to ftp.funet.fi just fine.
:( :( :mad:
Al_B on 29/12/2009 at 16:25
What happens if you deliberately try an incorrect username and password? For example, using (
http://filezilla-project.org/) FileZilla I get the following messages when connecting to your server:
Code:
Status: Connecting to 194.154.164.101:21...
Status: Connection established, waiting for welcome message...
Response: 220 ATLAS/WebFusion FTP server
Command: USER wrong
Response: 331 Please specify the password.
Command: PASS *****
Response: 530 Login incorrect.
Error: Critical error
Error: Could not connect to server
If that does the same thing then I'd suspect there's something wrong with your account on the server (but that shouldn't be a Windows 7 specific problem).
SubJeff on 29/12/2009 at 16:28
I'm using FileZilla now and I get this.
Code:
Status: Resolving address of ftp.****.com
Status: Connecting to 194.154.164.101:21...
Status: Connection established, waiting for welcome message...
Response: 220 ATLAS/WebFusion FTP server
Command: USER subjectiveeffect@****.com
Response: 331 Please specify the password.
Command: PASS **********
Error: Connection timed out
Error: Could not connect to server
I get this whether I use the correct password or not.
funet.fi works fine with FileZilla btw.
Al_B on 29/12/2009 at 16:36
OK - I suspect it's an ident problem. Your server is probably connecting back to your computer to see which user is associated with the FTP connection. It's pretty much archaic these days - do you have port 113 redirected somewhere on your firewall?
SubJeff on 29/12/2009 at 16:46
I've no idea and no idea where to look to find out.
Al_B on 29/12/2009 at 18:45
Sorry - scrub that. I have seen that issue before but I don't think it's occurring in your case. I've done a packet dump (using tcpdump) of communication between a ftp client and the server you're using and although there's a couple of seconds delay between sending the password and it being rejected there's no apparent attempt for it to connect to the ident port.
I'm afraid I'm a bit baffled. The fact that you can connect to other FTP sites is a good indication that the overall protocol / firewall / programs you're using are fine. I could see there being a problem with your account on the server but that shouldn't be specific to Windows 7.
Just as one last thing I can think of. Try to connect again (using FileZilla for example) but connect to the IP address (194.154.164.101) instead of the domain name, and use a completely wrong username and password. For my tests I used "wrong" for both and that was rejected almost immediately without timing out.
belboz on 30/12/2009 at 13:19
are you logging into windows 7 as the administrator, I hear it blocks a lot of functionability if you dont.