Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 10th, 2012, 12:44 AM
divya_ divya_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 6 divya_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #2  
Old May 10th, 2012, 04:06 PM
DonR DonR is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 464 DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 29722 Folding Title: Starter FolderFolding Points: 29722 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 2 Days 1 h 24 m 32 sec
Reputation Power: 216
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?

Reply With Quote
  #3  
Old May 12th, 2012, 01:32 AM
divya_ divya_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 6 divya_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #4  
Old May 12th, 2012, 08:35 AM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,319 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 20 h 55 m 51 sec
Reputation Power: 1940
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.

Reply With Quote
  #5  
Old May 12th, 2012, 12:06 PM
DonR DonR is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 464 DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 29722 Folding Title: Starter FolderFolding Points: 29722 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 2 Days 1 h 24 m 32 sec
Reputation Power: 216
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].

Reply With Quote
  #6  
Old May 12th, 2012, 08:31 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,239 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 15 h 20 m 7 sec
Reputation Power: 4445
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

Reply With Quote
  #7  
Old May 14th, 2012, 04:01 AM
divya_ divya_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 6 divya_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #8  
Old May 14th, 2012, 05:14 AM
divya_ divya_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 6 divya_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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].

Reply With Quote
  #9  
Old May 21st, 2012, 01:28 AM
divya_ divya_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 6 divya_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > FTP server on windows 7 not working

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap