PrepAway - Latest Free Exam Questions & Answers

What should you specify as the username?

You network contains an Active Directory domain named contoso.com. The domain contains an FTP
server named Server1. You create a domain user account named User1. You create an FTP site on
Server1 and configure the site to use a host name of public.contoso.com. You need to log on to the
FTP site as User1. What should you specify as the username?

PrepAway - Latest Free Exam Questions & Answers

A.
contoso.com\user1

B.
public.contoso.com|user1

C.
user1

D.
user1@contoso.com

Explanation:
Logging in to the First FTP Site Using Your Administrator Account
1. On your FTP server, open a command prompt session.
2. Type the following command to connect to your FTP server: FTP 127.0.0.1
3. When prompted for a user name, enter the “www.example.com” virtual host name followed by
the vertical line (|) character.
For example: “www.example.com|administrator”
4. When prompted for a password, enter your administrator password.
5. You should now be logged in to the “www.example.com” FTP site as the local administrator.
Logging in to the Second FTP Site Using Your Administrator Account
1. On your FTP server, open a command prompt session.
2. Type the following command to connect to your FTP server: FTP 127.0.0.1
3. When prompted for a user name, enter the “www.contoso.com” virtual host name followed by
the vertical line (|) character.
For example: “www.contoso.com|administrator”
4. When prompted for a password, enter your administrator password.
5. You should now be logged in to the “www.contoso.com” FTP site as the local
administrator.
Source: http://learn.iis.net/page.aspx/320/using-ftp-virtual-host-names/
FTP 7.0 introduced support for virtual host names as documented in the article
http://learn.iis.net/page. aspx/320/using-ftp-virtual-host-names/. Because of variety of compatibility
challenges, the decision was made to use the pipe sign “|” as a separator between the virtual host
name and the actual account name. To connect to an ftp site configured with virtual host name such
as ftp.contoso.com, that was sharing port 21 with some other site, one would need to type
ftp.contoso.com|ftpuser to log on successfully.
Source: http://blogs.iis.net/jaroslad/archive/2009/04/16/addressing-the-separator-problem- forvirtual-ftp-sites-ftp-7-5.aspx
Since you have a single IP, you can use FTP virtual hosts by adding a host name to each FTP binding,
e.g. ftp.contoso.com, ftp.fabrikam.com, etc. When your FTP users log in, they just need to specify
the FTP virtual host name as part of their login, e.g. ftp.contoso.com|user1, ftp.fabrikam.com|user2,
etc. Jaroslav discussed the FTP useDomainNameAsHostName attribute in one of his blog posts,
which allows you to use a backslash (“\”) instead of a pipe (“|”) character, so you can use login
strings like ftp.contoso.com\user1, ftp.fabrikam.com\user2, etc.
Source: http://forums.iis.net/t/1162437.aspx


Leave a Reply