Visual Basic 6.0 program was working fine in windows 2000 to ftp the file over a unix box. Putting the same VB program into windows 2003 and getting error as:
200 Type set to I.
200 PORT command successful.
425 Can't build data connection: Connection timed out.
The file was uploaded with zero byte in it.
Any idea? Maybe some windows 2003 server security causing the problem?
Inet1.URL = frmSetting.txtFTPaddress.Text
Inet1.RequestTimeout = 90
Inet1.UserName = frmSetting.txtFTPuser.Text
Inet1.Password = frmSetting.txtFTPpassword.Text
Inet1.Execute , "CD " & frmSetting.txtFTPfolder.Text
strDestinationfile = strDatetime & "-upload.xml"
Inet1.Execute , "Put " & strExportfile & " " & strDestinationfile
Inet1.Execute , "quit"