Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
1.8k views
in General by (200 points)
We are using edtFTPNetPro and SSHFTPClient. There is transfer type flag which has Binary and ASCII mode. When we "put" the file using SSHFTPClient and set the transfer type as ASCII, it obeys the flag if destination is linux server but not for AIX server. Does SSHFTPClient actually supports transfer type or it is just for compatibility purpose?

4 Answers

0 votes
by (162k points)
The client tries to guess the EOL terminator using the first line returned by the SFTP server. Traditionally SSH servers return their EOL terminator at the end of this line. It seems that the AIX server does not.

You can set the EOL terminator explicitly if required.
0 votes
by (200 points)
The client tries to guess the EOL terminator using the first line returned by the SFTP server. Traditionally SSH servers return their EOL terminator at the end of this line. It seems that the AIX server does not.

You can set the EOL terminator explicitly if required.


Thanks for the explanation, that seems to be the issue. Regarding the solution, you said that we can set EOL terminator explicitly but I didn't find any such fields or configuration in the client API. Is there something I am missing?
0 votes
by (162k points)
SecureFTPConnection.ServerLineTerminator
0 votes
by (200 points)
SecureFTPConnection.ServerLineTerminator


Thanks! I was searching in SSHFTPClient as that's the class I am using but I changed it to SecureFTPConnection and set it to type unix and that worked.

Categories

...