IIS FTP Server - FTP links to files

This is Interesting: Free IT Magazines  
Home > Archive > IIS FTP Server > October 2004 > FTP links to files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author FTP links to files
Chris

2004-10-22, 5:53 pm

I'm having a problem where a link directly to a file using ftp (i.e.
ftp://ftp.example.com/example_direc...xample_file.xls) always
attempts to use anonymous access instead of prompting for login. The
ftp site works fine if we link to a directory or turn on anonymous
access, but I'd rather not do that.

Is there a setting or something I need to do to change that behavior?
The server in question is a Windows 2000 Server running IIS 5.0 and
service pack 3.

Thank
Chris Pratt
cpratt AT gobeyond DOT com
Alun Jones [MSFT]

2004-10-22, 5:53 pm

"Chris" <cpratt@gobeyond.com> wrote in message
news:129c82ee.0410220644.2497b349@posting.google.com...
> I'm having a problem where a link directly to a file using ftp (i.e.
> ftp://ftp.example.com/example_direc...xample_file.xls) always
> attempts to use anonymous access instead of prompting for login. The
> ftp site works fine if we link to a directory or turn on anonymous
> access, but I'd rather not do that.


If you try using an FTP client other than a web browser, you'll notice that
the FTP server always supplies the prompts that cause the FTP client to send
a username and password. This process is hidden by the web browser.

> Is there a setting or something I need to do to change that behavior?
> The server in question is a Windows 2000 Server running IIS 5.0 and
> service pack 3.


Nothing you can do in the server will change this, because the server is
already doing all it can. However, you can tell your users to use the
"File -> Logon As" option in the IE FTP client, or supply a username that
doesn't exist. I tend to suggest "ftp://?@ftp.example.com", which will
cause IE to attempt to log in as "?" with no password, and when that fails,
it will prompt for a user name and password.

Alun.
~~~~


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com