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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    38,080
    Likes Received:
    1,364
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page