-
FTP ActiveX Control and ASP
I have developed an FTP ActiveX Control using VB6. It uses wininet.dll for
FTP operations.
The problem is that if it is used in an web page to connect to some host
using the anonymous account, it could not connect. Where as if I use the
same control in a VB project to connect to the same host using the anonymous
account, it connects without any problem.
I want to know what could be the possible reasons for this behavior and what
are the possible solutions to it. Thanks.
-
Re: FTP ActiveX Control and ASP
On 10 Oct 2001 05:31:13 -0700, "Kamal" <kamal@paki.com> wrote:
¤
¤ I have developed an FTP ActiveX Control using VB6. It uses wininet.dll for
¤ FTP operations.
¤
¤ The problem is that if it is used in an web page to connect to some host
¤ using the anonymous account, it could not connect. Where as if I use the
¤ same control in a VB project to connect to the same host using the anonymous
¤ account, it connects without any problem.
¤
¤ I want to know what could be the possible reasons for this behavior and what
¤ are the possible solutions to it. Thanks.
Is this an OCX, DLL, or EXE? It could be that the control is running on the server. Can you connect
to a host from the server?
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
-
Re: FTP ActiveX Control and ASP
Paul Clement <UseAdddressAtEndofMessage@swspectrum.com> wrote:
>On 10 Oct 2001 05:31:13 -0700, "Kamal" <kamal@paki.com> wrote:
>
>¤
>¤ I have developed an FTP ActiveX Control using VB6. It uses wininet.dll
for
>¤ FTP operations.
>¤
>¤ The problem is that if it is used in an web page to connect to some host
>¤ using the anonymous account, it could not connect. Where as if I use the
>¤ same control in a VB project to connect to the same host using the anonymous
>¤ account, it connects without any problem.
>¤
>¤ I want to know what could be the possible reasons for this behavior and
what
>¤ are the possible solutions to it. Thanks.
>
>Is this an OCX, DLL, or EXE? It could be that the control is running on
the server.
>Can you connect
>to a host from the server?
>
>
>Paul ~~~ pclement@ameritech.net
>Microsoft MVP (Visual Basic)
Its an OCX and I am using it on client side Java Script. It works fine on
my PC where I have both FTP and Web Server (I am using IIS-5 on Windows 2000
Server), but does not connect to the FTP server if I browse the web page
from another PC. Thanks.
-
Re: FTP ActiveX Control and ASP
On 10 Oct 2001 08:33:48 -0700, "Kamal" <kamal@paki.com> wrote:
¤
¤ Its an OCX and I am using it on client side Java Script. It works fine on
¤ my PC where I have both FTP and Web Server (I am using IIS-5 on Windows 2000
¤ Server), but does not connect to the FTP server if I browse the web page
¤ from another PC. Thanks.
Since the FTP component is running from the browser instead of the server, then the client must have
FTP access as well. It appears the web server has FTP access so running a page from IE will work
there. Unfortunately is does not appear that the client has FTP access so running a page from IE on
a client will not work.
Does this make sense?
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|