Problems accessing secure server (https ) (General questions)
Hi All,
I am a bit green here, so apologies up front. I am a bit stumped. I updating a legacy ASP web app that needs to send files via FTP to GlobalScapes secure ftp server. I am using a sample for FtpDLX and am getting connection timeout issues. What I am unclear about is 1) is there something wrong with my entries and 2) does this component support https:// connections?
I have read other posts where users were having similar problems but all were left as the mod's requesting offline email and no further responses. Any help is appreciated.
Here is the sample I am using:
dim Ftp1
set Ftp1 = Server.CreateObject( WeOnlyDo.wodFtpDLXCom.1 )
Ftp1.Blocking = 1
Ftp1.Hostname = https://ftpsvr.domain.ca
Ftp1.Login = usernameHere
Ftp1.Password = passwordHere
Ftp1.Port = 4567
Ftp1.Protocol = 3
Ftp1.Timeout = 20
Ftp1.Blocking = 1
Ftp1.Connect
Ftp1.ListDir /
Response.Write(Ftp1.ListItem)
Ftp1.Disconnect
Re: Problems accessing secure server (https )
Hi. Assuming same code works in regular VB app (did you try it?) and your program works in VB, I would suspect this is firewall issue.
Before doing anythng else, please disable windows firewall and try again. There should be one to setup on network card, and/or in Control Panel.
Does that help? Does it work with any other website?
Kreso
Re: Problems accessing secure server (https )
Hi. Assuming same code works in regular VB app (did you try it?) and your program works in VB, I would suspect this is firewall issue.
Before doing anythng else, please disable windows firewall and try again. There should be one to setup on network card, and/or in Control Panel.
Does that help? Does it work with any other website?
Kreso
Thanks for the quick reply. Tried it in VB with various connection types including SFTP - Disconnect message box came up each time. Did not connect. No firewall running on my machine. Was disabled already... other ideas?
Thx
Re: Problems accessing secure server (https )
Sorry, I don't see any MessageBox in your code. Are you saying that it connected and disconnected successfully using same code like yours (including Blocking = True)?
If so, please check again that you have no firewalls running. I know I'm repeating myself, but we've seen this sooooo many times that this must be it. Right-click on network card, select properties, select advanced, click on settings. Is firewall running there?
If this still doesn't work, can you send us all code, including hostname/login/pass? You can send it to techsupport email.
Kreso
Re: Problems accessing secure server (https )
Sorry, I don't see any MessageBox in your code. Are you saying that it connected and disconnected successfully using same code like yours (including Blocking = True)?
If so, please check again that you have no firewalls running. I know I'm repeating myself, but we've seen this sooooo many times that this must be it. Right-click on network card, select properties, select advanced, click on settings. Is firewall running there?
If this still doesn't work, can you send us all code, including hostname/login/pass? You can send it to techsupport email.
Kreso
Hi. There is no messagebox in my code - it's ASP >> (response.write). I will send you my test ASP code - it already has blocking=true in it. As for the firewall - I am positive. Did your check, it was off. I even killed the Windows Service for it and tested again anyway. Still the same. I will send the code I am using to test along to your support email.