The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Operating Systems
> Windows Help
|
FTP server on windows 7 not working
Discuss FTP server on windows 7 not working in the Windows Help forum on Dev Shed. FTP server on windows 7 not working Windows Help forum discussing tips, tricks, configurations, and more. Microsoft Windows is one of the most popular operating systems due to its ease of use.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

May 10th, 2012, 12:44 AM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 6
Time spent in forums: 34 m 13 sec
Reputation Power: 0
|
|
|
FTP server on windows 7 not working
Ive created an FTP account on windows 7. I tested it for connectivity from a few remote computers and it worked fine. I keep the FTP server on with lock at night basically for backup purpose. I've configured a backup agent on a remote computer which sends data to FTP Server at scheduled time using the ftp credentials. But its not able to connect to FTP server. The same worked fine when I used an FTP server on windows 2003. What is stopping the FTP on windows 7? Is it lock or sleep mode or anything else
|

May 10th, 2012, 04:06 PM
|
|
|
|
you haven't really given much info to go on.
the remote computers that worked, were they inside your LAN network or outside?
if all were inside, are any outside your network able to connect?
if not, did you forward ports 20 and 21 through your router to the pc running the ftp server?
|

May 12th, 2012, 01:32 AM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 6
Time spent in forums: 34 m 13 sec
Reputation Power: 0
|
|
|
I tested first with command prompt with internal IP which worked fine. Then I configured port forwarding for port 21. Then tested with public IP from computers both within LAN and outside LAN and it worked fine. Actually it even worked when I locked the FTP server and tested. However when I leave it for data transfer during scheduled time it fails to connect.
|

May 12th, 2012, 08:35 AM
|
|
Contributing User
|
|
Join Date: May 2004
Location: surfing the interwebz
|
|
|
If you can login from inside/outside the LAN, then you've got the hard part nailed. This sounds obvious, but how do you know it's faililng to connect? Could it be the backup program isn't running? I would start the backup manually and see where it's failling. It's most likely an authentication issue or permissions problem. Start it manually and let us know where it fails.
|

May 12th, 2012, 12:06 PM
|
|
|
Quote: | Originally Posted by divya_ Then I configured port forwarding for port 21. |
You need to also forward port 20 as that is what FTP uses for its DATA connection.
port 21 = control connection
port 20 = data connection.
both ports must be open/forwarded for any file transfers to take place [unless you are using PASV mode, but, thats a different story].
|

May 12th, 2012, 08:31 PM
|
|
|
|
Also if you're behind a router you may need to edit the configuration for your ftp server to provide your external public IP to the client as the target IP for PASV transfers. I know I did on a public linux ftp server using pure-ftpd, without editing the configuration my internal lan IP was being offered to the client as a target IP, which doesn't work too well over the public internet.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi
|

May 14th, 2012, 04:01 AM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 6
Time spent in forums: 34 m 13 sec
Reputation Power: 0
|
|
The backup agent gives an option during configuration through which we can test the ftp connection. There it shows connection was successful. The agent runs in 3stages, 1)Compresses the data 2)Transfers to destination through ftp at scheduled time 3)Sends an email for completion or non completion of the task.
I can see the compressed files on source computer. Through the logs I come to know that it had problem with ftp connection
Quote: | Originally Posted by seack79 If you can login from inside/outside the LAN, then you've got the hard part nailed. This sounds obvious, but how do you know it's faililng to connect? Could it be the backup program isn't running? I would start the backup manually and see where it's failling. It's most likely an authentication issue or permissions problem. Start it manually and let us know where it fails. |
|

May 14th, 2012, 05:14 AM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 6
Time spent in forums: 34 m 13 sec
Reputation Power: 0
|
|
I have now forwarded port 20 as well
I will check tonight if it solves the issue.
Quote: | Originally Posted by DonR You need to also forward port 20 as that is what FTP uses for its DATA connection.
port 21 = control connection
port 20 = data connection.
both ports must be open/forwarded for any file transfers to take place [unless you are using PASV mode, but, thats a different story]. |
|

May 21st, 2012, 01:28 AM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 6
Time spent in forums: 34 m 13 sec
Reputation Power: 0
|
|
|
The issue has been resolved
I had guessed correct
It was Power saver/Balanced mode of windows 7 that prevented the ftp connection.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|