RE: Can't access FTP sites requiring authentication



Thank you Terence for your assistance.

As previously stipulated, I have appended my username and password to the
FTP site as you mentioned. However this allows me to see the site but DOES
NOT allow me to post and/or upload any files whereas outside of our LAN, we
get a popup to authenticate and we are then able to upload as expected.

Please advise. Thank you.

--
CozmiqMan


"Terence Liu [MSFT]" wrote:

Hello CozmiqMan,

Thank you for posting here. And thanks for Henry's inputs.

According to your description, I understand that you get "502 proxy error"
when you access the FTP site which requires authentication from SBS or
internal client. If I have misunderstood the problem, please don't hesitate
to let me know.

Based on my research, this issue occurs if ISA Server does not send the
authentication information to the FTP server in the first request. The FTP
server closes the connection if the anonymous authentication information is
not received in the first request. ISA Server usually sends the
authentication information to an FTP site in the first request.

To resolve this issue, log on to the FTP server by including a user name
and a password in the URL. Use the following format:

ftp:// User_Name : Password @ FTP_Server

There is a sample of the URL you need to enter in IE:

ftp://abc:123@xxxxxxxxxxxxxxx (ABC is the username and 123 is the password)

Note: When you follow these steps to log on to a secure FTP site, the user
name and the password may be displayed in plain text in the Internet
Explorer title bar or status bar.

For more detail, please go through the following KB:
Error message when a client computer tries to access an FTP site through
ISA Server 2004: "Error Code: 502 Proxy Error"
http://support.microsoft.com/?id=925880

If we can not resolve the issue after we perform the above steps, please
kindly help me collect some information for further investigation:

1. Test the FTP in different client mode. Open Internet Explorer, click
'Tools'->'Internet Options'. In 'Advanced' tab, modify the settings and
then try the FTP access:
a. Check 'Enable folder view for FTP site' option; uncheck 'Use Passive
FTP' option (The IE will work in Active mode FTP). Does the issue reoccur?
b. Uncheck 'Enable folder view for FTP site' option; check 'Use Passive
FTP' option (The IE will work in Passive mode FTP). Does the issue reoccur?

2. Please help to gather the ISA Info:

1) Download the file from the following URL:

http://www.isatools.org/tools/isainfo.zip

2) Extract all files to a folder on ISA server.

3) Double click Isainfo.js. This will generate 2 files
ISAInfo2004-<computer-name>.log and ISAInfo2004-<computer-name>.xml in the
current folder.

4) Please send these files to me at v-terliu@xxxxxxxxxxxxx

3. Please also help to gather the ISA logs:

1) Schedule a down time.

2) Open ISA 2004 management console.

3) Expand the server node and highlight 'Monitoring'.

4) In the right pane, switch to the 'Logging' tab, make sure the 'Task
Pane' is showed there.

5) In the 'Task Pane', click 'Configure Firewall Logging' under 'Logging
Tasks', and then switch the 'log storage format' from 'MSDE database'
(default) to 'File'.

6) Switch to the 'Fields' tab, click 'Select All', and then click OK.

7) In the 'Task Pane', click 'Configure Web Proxy Logging' under 'Logging
Tasks', and then switch the 'log storage format' from 'MSDE database'
(default) to 'File'.

8) Switch to the 'Fields' tab, click 'Select All', and then click OK.

9) Click 'Apply' to save changes and update the configuration.

10) Temporarily disable the Firewall service. To do that, please click
Monitoring | Services tab, and then right click 'Microsoft Firewall' to
choose 'Stop'.

11) Clear the current existing W3C logs. To do that, go to the log saving
directory and clean any existing .W3C logs. By default, the logs will be
saved to 'C:\Program Files\Microsoft ISA Server\ISALogs'. (Some MDF may not
be able to deleted, that's normal.) You may backup them first and then
delete them.

12) Go back to the ISA 2004 management console, and then Start the stopped
'Microsoft Firewall' service.

13) Reproduce the problem, stop the service, and then gather the resulting
W3C files to me for analysis.

14) Please also let me know the IP address of the testing clients so that I
can filter the data.

Hope these steps will give you some help.

Thanks and have a nice day!

Best regards,

Terence Liu(MSFT)

Microsoft CSS Online Newsgroup Support

Get Secure! - www.microsoft.com/security

=====================================================
This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx

When opening a new thread via the web interface, we recommend you check the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.

Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In doing
so, it will ensure your issues are resolved in a timely manner.

For urgent issues, you may want to contact Microsoft CSS directly. Please
check http://support.microsoft.com for regional support phone numbers.

Any input or comments in this thread are highly appreciated.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Thread-Topic: Can't access FTP sites requiring authentication
| thread-index: AceXOVCPEhZASOAjT2i7m8ZU6JgnEg==
| X-WBNR-Posting-Host: 207.46.19.197
| From: =?Utf-8?B?Q296bWlxTWFu?= <CozmiqMan@xxxxxxxxxxxxxxxxxxxxxxxxx>
| Subject: Can't access FTP sites requiring authentication
| Date: Tue, 15 May 2007 14:38:02 -0700
| Lines: 25
| Message-ID: <1A861182-03AE-4DC6-AE89-91021647E7D8@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826
| Newsgroups: microsoft.public.windows.server.sbs
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.windows.server.sbs:36972
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.windows.server.sbs
|
| Hello,
|
| I am trying to access an FTP site that requires authentication. However
I
| receive an Error Code 502: Proxy Error. I am able to connect to some FTP
| sites like ftp.microsoft.com, ftp.adobe.com, and ftp.symantec.com.
However
| when I try some sites requiring authentication, I get the above error
code.
|
| For instance the FTP site ftp://216.208.79.102 works perfectly outside
our
| LAN but on our LAN from the server and/or any client station, we get the
| error code 502. We don't even get the authentication window. We get the
ISA
| error message with the above error code.
|
| I just installed a new server with SBS 2003 R2 Premium Edition.
| I unchecked the Read Only checkbox from both rules in ISA 2004, that is,
the
| 'SBS FTP Access' rule and the 'SBS Internet Access' rule.
|
| I tried connecting with 'Passive FTP' check/uncheck from my Internet
| Explorer 7.0.
|
| I am stumped!!
|
| Your help in this matter would be most appreciated. Thank you.
|
| --
| CozmiqMan
|


.



Relevant Pages

  • RE: Publishing a FTP server via ISA 2004
    ... strongly recommended to use the wizard to configure the SBS server. ... Is the FTP site hosted on the SBS/ISA Server and listening on port 21? ... If the answer is yes, please open the ISA management console, navigate to ...
    (microsoft.public.windows.server.sbs)
  • RE: FTP external access
    ... You can visit the FTP site with the command ... Please help to gather the ISA Info: ... please follow the link and download and run the Microsoft ...
    (microsoft.public.windows.server.sbs)
  • Re: FTP download failed via ISA E.E 2006 when FTP site requires logon
    ... Connect to the FTP server using the ftp command-line app from a host ... only a capture at both sides of ISA during the failing process can ... When I performed FTP download to an Internet ftp site via my ISA servers, ...
    (microsoft.public.isa)
  • FTP site publishing help required.....
    ... I have an FTP server hosted on an ISA server 2006 computer which is ... FTP sgould run on the earlier server. ... authentication but I am confused whether the authentication is ...
    (microsoft.public.isa)
  • Re: ftp virtual folder access
    ... Mode 2 is user isolation with AD integration. ... tested it in normal ftp setup, it does not require logon locally. ... try to log into a ftp site that is using a virtual directory, ...
    (microsoft.public.inetserver.iis.ftp)