« Previous Next »

Thread: FTP Publishing Service 7.5 for IIS 7 & Vista

Last post 04-16-2009 10:15 PM by magnus09. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 04-15-2009, 8:37 PM

    • magnus09
    • Not Ranked
    • Joined on 04-15-2009, 5:12 PM
    • United Kingdom
    • Posts 4

    FTP Publishing Service 7.5 for IIS 7 & Vista

    I managed to get the service to install on my Vista system and can access a root ftp server no problem, the problem I am having is when I set up a ftp site with a host name (example ftp://ftp.nwsoftware.co.uk) IE returns a DNS error and Windows Explorer throws out a '530 Valid hostname is expected' error, I've also tried another of FTP clients with the same result. Is there a workaround for this or is the reason it is throwing it out because the FTP Server really isn't compatible with Vista?

  • 04-15-2009, 10:20 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,378

    Re: FTP Publishing Service 7.5 for IIS 7 & Vista

    To configure FTP 7.5 publishing, you can refer to

    http://learn.iis.net/page.aspx/303/adding-ftp-to-a-web-site/

    http://learn.iis.net/page.aspx/320/using-ftp-virtual-host-names/

    I think the second link answers your question.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 04-16-2009, 12:53 AM In reply to

    Re: FTP Publishing Service 7.5 for IIS 7 & Vista

    The FTP site creation wizard for FTP 7.0 makes it too easy to type in the hostname for FTP site. In most cases single FTP site on port 21 is all what customers need. I assume that may be your case too. Just remove the hostname from the FTP binding and your site will work as expected.

    As Lex pointed out, his second recommended link discusses when hostnames are useful.

    BTW,  for FTP 7.5 we modified the FTP site creation wizard to minimize the chance of accidentally configuring site name in the binding.

    Jaroslav Dunajsky (MSFT, IIS)
  • 04-16-2009, 4:22 AM In reply to

    • magnus09
    • Not Ranked
    • Joined on 04-15-2009, 5:12 PM
    • United Kingdom
    • Posts 4

    Re: FTP Publishing Service 7.5 for IIS 7 & Vista

    I have had a look at that documentation a few times and followed the steps but it still refuses to work in IE or Windows Explorer, yet if I use the command prompt and log on it does recognise the ftp server and lets me log onto it but user name has to be in format <ftpserver>|<username> for it to connect properly.

    I have a friend whose sister is just starting up in business, we've registered a domain name for her but I also want to add ftp://ftp.nisharts.co.uk to the equation so he can log on using that to upload a web site for her once he has created it, which is why I am using virtual host names but it just refuses to work as stated above.

    I want two ftp servers, one on ftp.nwsoftware.co.uk and another at ftp.nisharts.co.uk (both binding on port 21) which is what I assumed Virtual Host Names would do. Is this a Vista issue or are the Virtual Host Names not intended to be used like that.

    In other words, on typing ftp.nwsoftware.co.uk I was expecting to be given the root page of that ftp server and typing ftp.nisharts.co.uk the root page of that ftp server binding.

  • 04-16-2009, 4:56 AM In reply to

    • magnus09
    • Not Ranked
    • Joined on 04-15-2009, 5:12 PM
    • United Kingdom
    • Posts 4

    Re: FTP Publishing Service 7.5 for IIS 7 & Vista

    I think I have figured it out. I have bound ftp.nwsoftware.co.uk without a host name to port 21 and have bound ftp.nisharts.co.uk to port 21 with a host name. I cannot log on to the home directory of ftp.nisharts.co.uk by typing ftp.nisharts.co.uk in IE or Windows Explorer  it takes me to the home directory of ftp.nwsoftware.co.uk but if I open it in Windows Explorer and logon as ftp.nisharts.co.uk|<username> it does log me onto the root of ftp.nisharts.co.uk so my reckoning is the host names are not intended to be used as urls but as prefixes to the user name you wish to log on as.

    If there is a way of making it work by typing ftp.nisharts.co.uk in IE or Windows Explorer I would be interested in hearing it though.

  • 04-16-2009, 5:59 PM In reply to

    Re: FTP Publishing Service 7.5 for IIS 7 & Vista

    IE and Windows Explorer get confused by the way FTP 7 refuses user name when incorrect hostname is specified.

    Robert McMurray has come up with a workaround for that http://blogs.msdn.com/robert_mcmurray/archive/2008/12/17/ftp-clients-part-3-creating-a-global-listener-ftp-site.aspx

    I also just put together blog entry on minor but useful feature added to FTP 7.5 that may be of your interest http://blogs.iis.net/jaroslad/archive/2009/04/16/addressing-the-separator-problem-for-virtual-ftp-sites-ftp-7-5.aspx

     

    Jaroslav Dunajsky (MSFT, IIS)
  • 04-16-2009, 10:15 PM In reply to

    • magnus09
    • Not Ranked
    • Joined on 04-15-2009, 5:12 PM
    • United Kingdom
    • Posts 4

    Re: FTP Publishing Service 7.5 for IIS 7 & Vista

    Thank you all for your help, it now makes sense to me.

Page 1 of 1 (7 items)
Microsoft Communities