Page 1 of 1

HP NonStop using SSH problems

Posted: 2018-11-05 17:25
by MWhitby
Anyone using FileZilla to connect to an HP NonStop over SSH?

Having an issue converting explicit FTP over TLS to SSH.

Resultant edit files looks as if the CRLF is removed when downloading, and text is inserted into the edit files when uploaded to the HP NonStop.

Systems is telling us NOT to use FileZilla instead using the built in Crystalpoint OutsideView FTP facility. Many of our scripts have to be re-written.

Anyone have any luck before we reinvent the wheel?

Re: HP NonStop using SSH problems

Posted: 2018-11-05 17:28
by botg
SFTP has no Data Type concept, when transferring files using SFTP they are transferred as-is.

Re: HP NonStop using SSH problems

Posted: 2018-11-05 18:13
by MWhitby
But why would transfers work perfectly when using explicit FTP over TLS.

Why would it behave differently when using SSH? Is the change mainly protocol not file movement?

Re: HP NonStop using SSH problems

Posted: 2018-11-05 19:17
by boco
But why would transfers work perfectly when using explicit FTP over TLS.
botg already explained. FTP cares for the Data Type and converts (ASCII files) or preserves (Image aka Binary files) line endings. SFTP has no such concept and line endings are not converted between different operating systems. Some Windows applications have problems handling UNIX line endings, while there are *NIX tools having problems with Windows endings. The full SSH2 is not supported by FileZilla.

Re: HP NonStop using SSH problems

Posted: 2018-11-05 20:44
by MWhitby
So, no support until SSH2 is available. I forced the transfer type to ASCII, but that did not work either.

I appreciate the help.

In the meantime we have a couple dozen of developers who will not be very happy as they will need to pitch F.Z. and revert to the archaic FTP within OutsideView.

I can't believe "we can't get there from here".

Re: HP NonStop using SSH problems

Posted: 2018-11-05 20:54
by boco
You cannot force "transfer type" (= Data Type) to ASCII for SFTP, as it simply does not exist there! Only FTP has TYPE A and TYPE I commands to control it.

If you truly need line ending conversion for compatibility reasons, you need to stay with FTP over TLS Explicit.

Clarification: SFTP is a part / subset of SSH2. FileZilla supports only SFTP, not the whole SSH2 protocol (which would also include a remote shell).


Try WinSCP, it supports the complete SSH2 experience and might work better in your case.