tinman83 / zscreen

Automatically exported from code.google.com/p/zscreen
0 stars 0 forks source link

FTPS Clear text not accepted #794

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Went to File uploaders then FTP
2.Set Protocol to FTPS and ServerProtocol to FTPS
3.Inserted all other connection infromation
4.Set FtpsSecurityProtocol to Tls1Explicit
5.Press test and get an error "Sorry, cleartext sessions are not accepted on 
this server."

What is the expected output? What do you see instead?
I expect for the test to be successful. I see "Sorry, cleartext sessions are 
not accepted on this server. 

What version of the product are you using? On what operating system?
Copy text from Debug tab
Version -- 4.9.0 Rev. 3033
Windows 7 Home Premium 64Bit Fully updated.
Debug log --
2012-04-16 19:29:39.641 - Exception:
Starksoft.Net.Ftp.FtpConnectionOpenException: An error occurred when sending 
user information.  Reason: Sorry, cleartext sessions are not accepted on this 
server. ---> Starksoft.Net.Ftp.FtpResponseException: FTP command failed.  (Last 
Server Response: Sorry, cleartext sessions are not accepted on this server.  
ServiceNotAvailableClosingControlConnection)
   at Starksoft.Net.Ftp.FtpBase.WaitForHappyCodes(Int32 timeout, FtpResponseCode[] happyResponseCodes)
   at Starksoft.Net.Ftp.FtpBase.SendRequest(FtpRequest request)
   at Starksoft.Net.Ftp.FtpClient.Open(String user, String password)
   --- End of inner exception stack trace ---
   at Starksoft.Net.Ftp.FtpClient.Open(String user, String password)
   at UploadersLib.FTP.Connect(String username, String password) in D:\Users\Mike\Documents\Visual Studio 2010\Projects\ZApps\trunk\ZSS.UploadersLib\FileUploaders\FTP\FTP.cs:line 114
   at UploadersLib.FTP.Connect() in D:\Users\Mike\Documents\Visual Studio 2010\Projects\ZApps\trunk\ZSS.UploadersLib\FileUploaders\FTP\FTP.cs:line 121
   at UploadersLib.FTP.UploadData(Stream stream, String remotePath) in D:\Users\Mike\Documents\Visual Studio 2010\Projects\ZApps\trunk\ZSS.UploadersLib\FileUploaders\FTP\FTP.cs:line 134
   at UploadersLib.FileUploaders.FTPUploader.Upload(Stream stream, String fileName) in D:\Users\Mike\Documents\Visual Studio 2010\Projects\ZApps\trunk\ZSS.UploadersLib\FileUploaders\FTPUploader.cs:line 72

Please provide any additional information below.
I have no idea who Mike is. I have no D drive either. I'm not sure what's going 
on!
I tried all sorts of settings, but I know FTPS Explicit TLS works fine on 
FileZilla
I've also tried the newest "dev" build. No luck! 

Ask for more information if I'm missing anything 

Original issue reported on code.google.com by turner...@gmail.com on 17 Apr 2012 at 12:43

GoogleCodeExporter commented 9 years ago
Mike uploaded debug version of ZScreen so when error happen showing error 
happened in which file and in which line if it was his machine.

About ftp error, we using http://www.starksoft.com/prod_ftp.html library for 
ftp/ftps and look like error is related to this library. I can't test ftps 
myself because can't find free host which giving ftps support :( So i'm not 
sure is it our app related problem or library related problem.

Original comment by flexy...@gmail.com on 17 Apr 2012 at 1:34

GoogleCodeExporter commented 9 years ago
http://forum.filezilla-project.org/viewtopic.php?t=14072

Is this problem related?

Original comment by flexy...@gmail.com on 17 Apr 2012 at 1:37

GoogleCodeExporter commented 9 years ago
Tried it now I get this error if I add the ftpes://
System.Net.NetworkInformation.PingException: An exception occurred during a 
Ping request. ---> System.Net.Sockets.SocketException: The requested name is 
valid, but no data of the requested type was found
   at System.Net.Dns.GetAddrInfo(String name)
   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   at System.Net.NetworkInformation.Ping.Send(String hostNameOrAddress, Int32 timeout, Byte[] buffer, PingOptions options)
   --- End of inner exception stack trace ---
   at System.Net.NetworkInformation.Ping.Send(String hostNameOrAddress, Int32 timeout, Byte[] buffer, PingOptions options)
   at System.Net.NetworkInformation.Ping.Send(String hostNameOrAddress, Int32 timeout)
   at UploadersLib.UploadersConfigForm.SendPing(String host, Int32 count) in D:\Users\Mike\Documents\Visual Studio 2010\Projects\ZApps\trunk\ZSS.UploadersLib\GUI\UploadersConfigFormHelper.cs:line 735
   at UploadersLib.UploadersConfigForm.TestFTPAccount(FTPAccount account, Boolean silent) in D:\Users\Mike\Documents\Visual Studio 2010\Projects\ZApps\trunk\ZSS.UploadersLib\GUI\UploadersConfigFormHelper.cs:line 693
   at UploadersLib.UploadersConfigForm.FTPAccountTestButton_Click(Object sender, EventArgs e) in D:\Users\Mike\Documents\Visual Studio 2010\Projects\ZApps\trunk\ZSS.UploadersLib\GUI\UploadersConfigFormGUI.cs:line 580
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

It says you're the owner of the project, and I have no idea how to fix this 
stuff. So I guess I could give you an account to test with if you email me. 

Original comment by turner...@gmail.com on 19 Apr 2012 at 11:13