Re: ftp user ssl (General questions)
Damba,
Apologize for my answers. By using GUI I mean the graphical user Inferface. In our company we are using GlobalSCAPE CuteFTP as GUI and in my answers I refer to that gui. We are not allowed to use any other gui as CuteFTP and in that gui I refer to the site properties with use SSL Inplicit (port 990). Also in that gui I use global settings for my certificate and private key.
I can understand that the error is unusual for you. I send you my script that gave the protocol error. Maybe this is helpfull for you?
Option Explicit
Const ForAppend = 8
Dim objFTP, lst, cert, certificate, authCertificate
Dim Logfile, fsobject
sub Log(txt)
Logfile.writeline now & & txt
end sub
Set objFTP = WScript.CreateObject( WeOnlyDo.wodFtpDLXCom.1 , wod_ )
Sub wod_Connected(ErrorCode, ErrorText)
If not ErrorCode = 0 then
wscript.quit 1
End If
End Sub
Sub wod_Done(ErrorCode, ErrorText)
If not ErrorCode = 0 then
wscript.quit 1
End If
End Sub
Set cert = WScript.CreateObject( WeOnlyDo.Certificate.1 )
Set objFTP = WScript.CreateObject( WeOnlyDo.wodFtpDLXCom.1 , wod_ )
Set objFTP.Certificate = cert
cert.Loadkey D:install st.rsa , password
cert.Load D:install st.cer , password
objFTP.Hostname = username
objFTP.Protocol = 4
objFTP.Port = 990
objFTP.Passive = 1
objFTP.Authentication = authCertificate
objFTP.Login = username
objFTP.Password = password
objFTP.Blocking = 1
objFTP.Connect
objFTP.GetFiles d:AZR-NLALG , /
objFTP.Disconnect
Thannks Ed
Ed,
What are you referring to as gui ? Gui as in .ocx, or gui application you made? Or gui, as in our sample?
You need to provide us more details. Please have in mind that I don't see the issue you're experiencing. Is there any chance we can reproduce this?
The error you're receiving is usual when i.e. SSH is used instead of FTPS where FTPS should be used.
Regards,
Damba
Complete thread:
- ftp user ssl - Ed Weijma, 2012-05-14, 13:16
- Re: ftp user ssl - wodDamir, 2012-05-14, 13:46
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 14:00
- Re: ftp user ssl - wodDamir, 2012-05-14, 14:08
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 14:52
- Re: ftp user ssl - wodDamir, 2012-05-14, 14:59
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 15:30
- Re: ftp user ssl - wodDamir, 2012-05-14, 15:52
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 16:02
- Re: ftp user ssl - woddrazen, 2012-05-14, 16:33
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 19:26
- Re: ftp user ssl - woddrazen, 2012-05-14, 20:02
- Re: ftp user ssl - Ed Weijma, 2012-06-08, 09:45
- Re: ftp user ssl - woddrazen, 2012-06-08, 09:51
- Re: ftp user ssl - Ed Weijma, 2012-06-08, 09:45
- Re: ftp user ssl - woddrazen, 2012-05-14, 20:02
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 19:26
- Re: ftp user ssl - woddrazen, 2012-05-14, 16:33
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 16:02
- Re: ftp user ssl - wodDamir, 2012-05-14, 15:52
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 15:30
- Re: ftp user ssl - wodDamir, 2012-05-14, 14:59
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 14:52
- Re: ftp user ssl - wodDamir, 2012-05-14, 14:08
- Re: ftp user ssl - Ed Weijma, 2012-05-14, 14:00
- Re: ftp user ssl - wodDamir, 2012-05-14, 13:46