Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

FTP connection from VBA is not working

Discussion in 'General Discussion' started by salvazo, Sep 4, 2017.

Tags:
  1. salvazo

    salvazo Member

    Joined:
    May 2, 2011
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    53
    Hi, I'm trying to connect to an FTP from a VBA program with this code:

    hConnect = InternetConnect(hInternet, _
    sFtp, _
    INTERNET_DEFAULT_FTP_PORT, _
    sFtpUserName, _
    sFtpPassword, _
    INTERNET_SERVICE_FTP, _
    INTERNET_FLAG_EXISTING_CONNECT Or _
    INTERNET_FLAG_PASSIVE, _
    &H0)

    The thing is that was working fine in a previous version from cPanel, but now it's not working.

    I tried ProFTPD and Pure-FTPD servers selection with no success. Right now I have enabled Pure-FTPD with "Broken Clients Compatibility" set as "Yes", but it can't connect.

    Anybody knows something about this?!

    Many thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,633
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice