« Previous Next »

Thread: FTP7 What am i doing wrong???

Last post 07-13-2009 10:45 PM by steve schofield. 9 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (10 items)

Sort Posts:

  • 07-06-2009, 9:55 PM

    • jhamel
    • Not Ranked
    • Joined on 06-18-2009, 4:47 PM
    • Posts 8

    FTP7 What am i doing wrong???

    Hi,

    FTP publishing in IIS7 is driving me crazy, please help :

     1. FTP 7.5 installed

    2. Creating FTP sites "Add FTP Sites"

    3. Using public IP address and host headers (also created in the DNS zone)

    4. Creating a user for the site then setting permissions to "specific user" Read-Write

    5. Trying to login :

    530 User cannot log in, home directory inaccessible

  • 07-06-2009, 10:07 PM In reply to

    Re: FTP7 What am i doing wrong???

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 07-06-2009, 10:50 PM In reply to

    • jhamel
    • Not Ranked
    • Joined on 06-18-2009, 4:47 PM
    • Posts 8

    Re: FTP7 What am i doing wrong???

    Thanks for your reply,

    Yes, i was referring to Virtual Hosts and i did the exact procedure as described in the tutorial.

    Still have the 530 error.

    Do i have to set the permissions manually on the physical folder (site path) or IIS is supposed to do it?

    Either ways, it still doesnt work :(

    Same for Website + FTP publishing.

    Thanks!

  • 07-07-2009, 1:55 PM In reply to

    • jhamel
    • Not Ranked
    • Joined on 06-18-2009, 4:47 PM
    • Posts 8

    Re: FTP7 What am i doing wrong???

    Hi,

    Some developments, after i noticed a specific Web/FTP site was catching everything on the IP, we changed the settings to add proper bindings and now every FTP returns :

    530 Valid hostname is expected

    I use my own DNS (same server), all the hosts are created... (ping correct)

    Any ideas?

    Thanks.

  • 07-13-2009, 4:50 AM In reply to

    Re: FTP7 What am i doing wrong???

    Hi,

    Could you run the command "ftp hostname", then use the "hostname|user name" log in ? if you still encounter an error, please post the Win32 error and Error details here.

    Also, you can have a look the solution in this thread :
    Thread: How can I connect to ftp7 from remote machine?
    http://forums.iis.net/p/1154884/1893126.aspx#1893126

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 07-13-2009, 10:10 AM In reply to

    • jhamel
    • Not Ranked
    • Joined on 06-18-2009, 4:47 PM
    • Posts 8

    Re: FTP7 What am i doing wrong???

    Hi, Here's my procedure :

    1. Create FTP account (from Computer Management, no AD)

    2. Set the appropriate permissions on the home folders of the website(d:\inetpub\vhosts\mydomain)

    3. Add FTP publishing to the website (FTP7)

    4. Set IP address (same as website)

    5. Check hostname : myhost.mydomain.com

    6. Specific user (read, write) (user created at step 1)

    7 Allow SSL

    8. Finish

    9. Restart FTP site, web site.

    10 In dos console : ftp myhost.mydomain.com

    11. myuser|myhost.mydomain.com = 530 Valid hostname is expected.

    Thanks

  • 07-13-2009, 10:24 AM In reply to

    • jhamel
    • Not Ranked
    • Joined on 06-18-2009, 4:47 PM
    • Posts 8

    Re: FTP7 What am i doing wrong???

    About topic : http://forums.iis.net/p/1154884/1893126.aspx#1893126

    I understand the problem but my public address is correctly binded to the FTP site.

    Web site works from external connection with the same host and IP.

    Thanks.

  • 07-13-2009, 9:31 PM In reply to

    Re: FTP7 What am i doing wrong???

    Hi, 

    jhamel:
    11. myuser|myhost.mydomain.com = 530 Valid hostname is expected.

    We should enter the hostname| followed by the user name. It looks like this: myhost.mydomain.com|myuser

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 07-13-2009, 9:58 PM In reply to

    • jhamel
    • Not Ranked
    • Joined on 06-18-2009, 4:47 PM
    • Posts 8

    Re: FTP7 What am i doing wrong???

    Hi,

    I figured out after my last post... Now it works!!!

    But i also had to do the following in order to active dynamic FTP ports in Windows Firewall

    Reference :

    http://blogs.iis.net/jaroslad/archive/2007/09/29/windows-firewall-setup-for-microsoft-ftp-publishing-service-for-iis-7-0.aspx

    Thanks for your help!

     

  • 07-13-2009, 10:45 PM In reply to

    Re: FTP7 What am i doing wrong???

    Thanks for reporting the issue and how you resolved it.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (10 items)
Microsoft Communities