all groups > iis ftp > october 2006 >
You're in the

iis ftp

group:

require password


require password bbxrider
10/30/2006 11:03:47 PM
iis ftp:
for win 2k adv server, iis 5.0
created virtual ftp site with its own folder directly below the 'inetpub'
folder. turned off anonymous access, created a user for the ftp site with
modify permissions, for the ftp site folder but not full control, however
when i access the site thru ie6 it doesn't prompt for user/pswd?
the default user for the created ftp folder was 'everyone' with 'full
control' but permission boxes even tho all checked were grayed out, i
didn't change any of that.

previously, and posted and replied here, thanks bernard, i had set up the
same way with a different port than 21, a much higher number. that way
prompted for username/pswd but didn't display the folder contents, there was
the 500 invalid port message in the log but not sent to ie. so changing to
port 21 allows the ftp dynamic porting to get thru my little dlink router
but now have lost the sign in requirement.

not sure if i'm making progress or not here

what say you bernard?
bbx


Re: require password Bernard Cheah [MVP]
10/31/2006 12:00:00 AM
Without prompt? did you 'save password' by any chance?
Post the IIS ftp log file here....
ensure you capture the username, uri stem, uri query, protocol status
fields.

all ftp login will be authenticated either anonymous or per user account
basic.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: require password bbxtrap
10/31/2006 10:37:48 PM
thanks for the reply
sorry can't seem to duplicate that problem now, but have a new problem, i
get prompted and can establish a session that i can see with the iis mgr
however, the ftp directory contents are not displayed in the ie window?
been here before and the problem seemed to be the ftp port number i assigned
was causing problems with my limited dlink router
so i changed the port back to 21, the log file follows, i have read some on
the 230 message and that seems normal

#Fields: time c-ip cs-username s-sitename s-computername s-ip s-port
cs-method cs-uri-stem sc-status
06:09:06 67.181.93.90 anonymous MSFTPSVC2 P3 192.168.0.114 21 [8]USER
anonymous 331
06:09:06 67.181.93.90 - MSFTPSVC2 P3 192.168.0.114 21 [8]PASS IEUser@ 530
06:09:21 67.181.93.90 scout1 MSFTPSVC2 P3 192.168.0.114 21 [9]USER scout1
331
06:09:21 67.181.93.90 scout1 MSFTPSVC2 P3 192.168.0.114 21 [9]PASS - 230







[quoted text, click to view]

Re: require password Bernard Cheah [MVP]
11/2/2006 12:00:00 AM
Yes. it is working now. first IE try to login as anonymous but it failed,
then scout1 logged on.
As for the directory content, if it is virtual, by desigh it won't appear in
the dir listing... you can 'blindly' navigate to it by typing the folder
name. e.g. myftp.com/virdir1

or you can go to the ftp root and create the same dummy phyical folder name.
when user click on it, it will goes to the virtual folder.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: require password bbxrider
11/2/2006 9:37:00 AM
hi bernard and thanks again for keeping the thread going
still not working here
1. i tried a url = ftp.mysite.com/folder1, where folder1 is the 'real'
folder that the ftp site points to, was promptd for usr/pswd, but directory
contentst still not listed
which i think is your first suggestion
2. in the ftp site i created a virtual directory, 'folder1', and that virt
dir name is same name as the 'real' folder = folder1, either way if i url
ftp.mysite.com
get prompt but no contents and if i try, ftp.mysite.com/folder1 where
folder1 is now the name of the virtual directory, still no contents
??????????
did i not understand this???

[quoted text, click to view]

Re: require password Bernard Cheah [MVP]
11/3/2006 12:00:00 AM
Mm.. it is working in my test and per this kb
FTP Virtual Directory Is Not Displayed in Directory Listing
http://support.microsoft.com/?id=228909

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: require password bbxrider
11/3/2006 12:59:21 AM
followed the kb i think, created inetpub/ftpTopFolder/ftpVirtualFolder
nameed the virtual folder under the ftp site 'ftpVirtualFolder' and pointed
it to inetpub/ftpTopFolder
now system won't accept the user i created for the ftp access with modify
permissions for both ftpVirtualFolder and ftpTopFolder
'could not login to the ftp server with the username and password specified'

wow this should have been so easy, its probably time to give up, very
frustrated here
especially not being able to encrypt password anyway without vpn or ipsec,
its probably not worth it
so will probably try webdav next
thanks for trying to help
bob




[quoted text, click to view]

Re: require password Bernard Cheah [MVP]
11/5/2006 12:00:00 AM
I don't get you. are you using the virtual folder to 'loop' back to the root
folder?

Here's the deal.

a) ftproot -> c:\ftproot\
b) vir dir -> myvirdir -> d:\myftpspecial folder\

so what you do is go to a) and create c:\ftproot\myvirdir

after you logon you should be able to see myvirdir in the dir listing, and
when you navigate to it, it will go to d:\myftpspecial folder\

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: require password bbxtrap
11/6/2006 6:03:50 PM
sorry about the previous reply sent directly and thanks for the 1 more reply
ok so assuming the directory structure isn't limited to your example here's
what i've tried

a) ftproot -> c:\ftproot\
i have c:\inetpub\ftproot, this is the directory pointed to via the 'home
directory' tab in my virtual ftp site

[quoted text, click to view]
i created a virtual directory IN MY FTP SITE, ftpDir, it points to
c:\inetpub\webSiteFilesFolder, this folder has files

[quoted text, click to view]
i created the empty folder c:\inetpub\ftproot\ftpDir

my intent is to allow the web site owners the ability to manage their files
in their website folder (webSiteFilesFolder), thus they have security
permissions for add,
change, and delete, while anon web site users/browsers have appropriate
read only permission

so accessing via ftp://mydomainname, i get prompted for a username and
password, evidently its accepted, i can see i have user listed in a current
session in the iis mgt console bu still no listing of anything in my ie?
i even have the ftp welcome message posted on the ie page and a folder icon
with my domain name!!
is there some setting that needs to be set in my ie?
thanks

[quoted text, click to view]
Re: require password Bernard Cheah [MVP]
11/8/2006 12:00:00 AM
Ok, I think you got the directory structure setup correctly.
now - is the user logon name same as the virtual directory name ?

next. if you go to the server. go to command prompt and connect ftp locally
via ftp.exe what do you get in dir listing?


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]
AddThis Social Bookmark Button