Getting "Timeout Error" while doing FTP to server in VB6 using Inet control

440 Views Asked by At

I am able to FTP using WinSCP client from my local desktop. When i am trying to do it through code(VB6) I am getting timeout error every time. The same code works on server when deployed.So my question is:

1.> Am I missing some network setting which needs to be done?

2.> If yes then how come I am able to do successful FTP using WinSCP?

  Inet2.URL = strImaging_Login

  Inet2.Execute , "dir ./ImagesStaging/" & strImages_Folder_Name & "*"

  Do While Inet2.StillExecuting = True
        DoEvents
  Loop
0

There are 0 best solutions below