FTP ActiveX Control and ASP


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: FTP ActiveX Control and ASP

  1. #1
    Kamal Guest

    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.

  2. #2
    Paul Clement Guest

    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)

  3. #3
    Kamal Guest

    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.


  4. #4
    Paul Clement Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center