Well, I'm not that much of an expert when it comes to FTP setup, but I've been using this site as a guide to setup my FTP folder: http://www.pcstats.com/articleview.cfm?articleID=1491 I'm using IIS 5.1 and have setup my FTP folder and have Anonymous Connections
allowed, well, if you try to access this FTP ftp://192.168.1.100/ and try to log in anonymously, it will say "Either the server does not allow anonymous logins or the e-mail address was not accepted." This is just using a regular format email address, user@hotmail.com,
and having the "Allow Anonymous Collections" box selected for the properties of the FTP folder. What else might be causing the problem for me and others to access this folder? Thanks a lot guys/gals, I really appreciate it any help you could provide me. If
you prefer to email me, emo_andy@hotmail.com.
Quick test, go to command prompt, c:\>ftp localhost or c:\>ftp 192.168.1.100 at the user prompt, enter 'ftp' as the username and password. can you login ? if not what's the error msgs ? if the above work, reconnect again, at username specify 'anonymous', then
anything in the password field. It doesn't need to be email address format.
sorry, not too familiar with C: prompt if it starts off at 'C:\Documents and Settings\Andy B>' how do i get it back to the regular C: prompt to enter the command you said?
type: cd \ You do not need to type that however to test the commands that have been mentioned. Typing them at any directory level of the C:\ prompt will work.
Add on - just verify your setting with this kb HOW TO: Set Up an FTP Server in Windows 2000 http://support.microsoft.com/?id=300662 It apply to XP as well, if you can't login using previous suggestion, pls post the full error msgs here.
Ok guys, It is up and running, I finally got the router port foward settings right and the all the FTP settings setup right, but now I have a question: How do I setup personal access, like two accounts, one for me, and one for my friend. I know that using an
FTP with passwords isn't very safe b/c none of it encrypted unless you're using SSL, but I'd rather have it just in case. How do I go about setting up 2 accounts?
Try HOW TO: Limit FTP Access in Windows 2000 http://support.microsoft.com/?id=318712 HOW TO: Create a Secure FTP Directory that Uses Password Authentication http://support.microsoft.com/?id=239120 And for IIS FTP doesn't support any FTP(S) implementation, you
need to secure the connection yourself. Get more detail in this kb. Information About the IIS File Transmission Protocol (FTP) Service http://support.microsoft.com/?id=283679
ok, this sucks, it was working fine for like 10 min then all of sudden it's not responding C:\>ftp 192.168.1.100 > ftp: connect :Unknown error number ftp> so nothing is responding, when i try to enter it in IE is just gives me an 'operation timed out' message.
of course it has to tease me by workin for like 10 min :p I'm trying to setup a different IP right now, configuring the router to route certain ports to the new IP and hopefully i can gain access. Im running a linksys WRT54G with DHCP, its not static dns but
i dont think that should be a problem as long as it stays anonymous for the time being. ok...here is the message i am getting when trying to access the ftp from the C: prompt... C:\Documents and Settings\Andy B>ftp 192.168.1.102 connected to 192.168.1.102.
220 Microsoft GTP Service User (192.168.1.102:(none)): user 331 Password required for user. Password: 530 User user connot log in. Login failed. ftp> for some reason it wont let me type a password, maybe cause it's setup as anonymous? ok...changed IP for ftp
changed around the router settings... C:\Documents and Settings/Andy B>ftp 192.168.1.102 Connected to 192.168.1.102. 220 Microsoft FTP Service User (192.168.1.102:(none)): anonymous 331 Anonymous access allowed, send identity (e-mail name) as password. Password:
230 Anonymous user logged in. ftp> Shuper duper, let's hope it stays this way :p
a) C:\>ftp 192.168.1.100 > ftp: connect :Unknown error number ftp> Looks like to me, FTP is not started properly, restart it and check the log. b)530 User user connot log in. Login failed.
Try this kb Err Msg: 530 User Cannot Log In. Login Failed. http://support.microsoft.com/?id=200475
Ok, when I do get this thing up and running reliably, what ip addy should i give to my friends in order to access it? It seems like every time i get it running it'll will work for a short period of time, and then i try to, or others, access it and it won't
be able to establish a connection or the operation will time out. Do you think it is mostly b/c of my router? The only I could think of logically, w/o knowing the operation and control of routers very extensively, would be the DNS. It's not setup on static
DNS, but I don't know if that would affect the actual FTP site itself. Do I need to set up a static DNS server for the FTP? I really appreciate all the help guys, i know this would be a lot easier with just a direct connection rather than having this router,
but my dad has to have internet too, :p
Yes, it is likely to be your router port forwarding setup. We skip the DNS part first, this is just host name resolution to IP address. when you give detail to your friendly remotely, you should give the external IP of your router. and you need to ensure that
the correct ports are allow to incoming traffic. With ftp, you will have two modes. active and passive. the command line tool (ftp.exe) is an active mode client. So you always test the ftp access with ftp.exe first. because this tool only uses 2 ports. 21(inbound)
and 20(outbound), ensure your router is configure to allow such traffic. Ask your friend to try login and do a dir listing. if everything work, meaning you ftp is setup correctly. (of coz before you do remote testing, you do the same test locally first) passive
mode, uses another range of IP address. read the following kb. Information About the IIS File Transmission Protocol (FTP) Service http://support.microsoft.com/?id=283679 How To Configure PassivePortRange In IIS http://support.microsoft.com/?id=555022
Ok, i understood most of that :p so i'll try to get it setup correctly. First, where is ftp.exe located? Secondly, what kind of format should the ftp address be in for my friend to access it? ftp://: ?
a) ftp.exe is under %windir%/system32. just go to command prompt and type ftp.exe, you can access it anywhere as the path is include in environment setting. b) for example. c:\>ftp
ok, awesome, didn't have to use that ftp.exe, don't know what to type after the ftp> prompt anyway, but got IIS 5.1 up and running on port 21 and Serv-U running on 22, i just wish MS made is easier to setup accounts for access w/pw's like Serv-U, need to find
a different FTP Server program that makes it that easy.
Quick test, go to command prompt, c:\>ftp localhost or c:\>ftp 192.168.1.100 at the user prompt, enter 'ftp' as the username and password. can you login ? if not what's the error msgs ? if the above work, reconnect again, at username specify 'anonymous', then
anything in the password field. It doesn't need to be email address format.
AHHH, thank you thank you thank you!
I'm studying for exams and you've just added a new trick to my book. :)
Really I was just looking for more detailed FTP logs to help me troubleshoot but this is better.
I never knew there was a cmd ftp command before, and it gives me better error messages. "ftp localhost"
"Win32 error: An attempt was made to logon, but the network logon service was not started."
Sure enough, my Netlogon service was not started even tho it set to Automatic
probably because I deleted and recreated my domain with same name while playing around with it
BUT now I got anonymous FTP connection to home from outside my network and can know that FTP works!!
Now when adding domain auth. and removing anonymous auth. if anything breaks I'll know what I did
9 Posts
FTP access problems
May 17, 2004 01:02 AM|emoandy|LINK
7019 Posts
MVP
Re: FTP access problems
May 17, 2004 02:32 AM|qbernard|LINK
Bernard Cheah
9 Posts
Re: FTP access problems
May 17, 2004 07:56 PM|emoandy|LINK
8 Posts
Re: FTP access problems
May 17, 2004 11:06 PM|JakeG|LINK
Microsoft MVP - IIS
www.iisactive.com
www.computershowoff.com
7019 Posts
MVP
Re: FTP access problems
May 18, 2004 02:24 AM|qbernard|LINK
Bernard Cheah
9 Posts
Re: FTP access problems
May 18, 2004 05:13 AM|emoandy|LINK
7019 Posts
MVP
Re: FTP access problems
May 18, 2004 07:05 AM|qbernard|LINK
Bernard Cheah
9 Posts
Re: FTP access problems
May 18, 2004 02:14 PM|emoandy|LINK
9 Posts
Re: FTP access problems
May 19, 2004 04:11 PM|emoandy|LINK
7019 Posts
MVP
Re: FTP access problems
May 19, 2004 11:44 PM|qbernard|LINK
Bernard Cheah
9 Posts
Re: FTP access problems
May 21, 2004 12:51 AM|emoandy|LINK
7019 Posts
MVP
Re: FTP access problems
May 21, 2004 01:39 AM|qbernard|LINK
Bernard Cheah
9 Posts
Re: FTP access problems
May 21, 2004 01:55 AM|emoandy|LINK
7019 Posts
MVP
Re: FTP access problems
May 21, 2004 04:58 AM|qbernard|LINK
Bernard Cheah
9 Posts
Re: FTP access problems
May 21, 2004 05:03 AM|emoandy|LINK
7019 Posts
MVP
Re: FTP access problems
May 22, 2004 02:25 AM|qbernard|LINK
Bernard Cheah
1 Post
Re: FTP access problems
Jul 15, 2015 04:16 PM|Getmo|LINK
AHHH, thank you thank you thank you!
I'm studying for exams and you've just added a new trick to my book. :)
Really I was just looking for more detailed FTP logs to help me troubleshoot but this is better.
I never knew there was a cmd ftp command before, and it gives me better error messages. "ftp localhost"
"Win32 error: An attempt was made to logon, but the network logon service was not started."
Sure enough, my Netlogon service was not started even tho it set to Automatic
probably because I deleted and recreated my domain with same name while playing around with it
BUT now I got anonymous FTP connection to home from outside my network and can know that FTP works!!
Now when adding domain auth. and removing anonymous auth. if anything breaks I'll know what I did
Cheers