SecureBlackbox Knowledge Base

Recent SFTP Articles


The SSH or SFTP connection to the server is closed or hangs during the data transfer stage (after a successful handshake). What should I do?

This article provides troubleshooting in the following scenario: The SSH or SFTP connection to the server is closed or hangs during the data transfer stage (after a successful handshake).

The time reported by the components is XX hours away from correct. Why?

The time is reported by SFTP in UTC according to the standard. It's your task to convert it to the computer's local time.…

How can I debug SFTP client code without having an SFTP server?

You must have an SFTP server. If you don't want to use a production server or the server is not under your complete control, you can install a local SSH/SFTP ser…

I can't read or change the Owner and Group attributes of the file.

Check that you are connecting to the Unix server. Some attributes are not supported by SFTP version 3 and earlier. If the connection uses SFTP 3, you need to use…

Does SFTP support wildcard characters and file masks with file operations?

No. Masks are supported by the UploadFiles/DownloadFiles methods of ElSimpleSFTPClient, but the mask-handling code is built into the component and is not part of…

I can't login to the server with a username and password. Other programs do this fine. Is this a bug?

Most likely, the server is using not password-based authentication, but keyboard-interactive authentication. SecureBlackbox supports both authentication types. F…

How do I get / set the current directory?

SFTP doesn't have a concept of the current directory. You must always use absolute paths when you refer to files. If you use relative paths, the result depends o…

How do I specify text or binary mode for file transfer with SFTP?

By default, SFTP uses binary mode. Text mode is supported by the SFTP protocol in versions 4 and later. To ensure that the connection is established using SFTP 4…

What SSH algorithms are implemented in SecureBlackbox?

SecureBlackbox contains client-side support for SSH 1 and SSH 2...

Troubleshooting: Command Rejected Due to SFTP Proxy Policy Settings: SSH_FXP_...

Resolve the following error: Command rejected due to SFTP proxy policy settings: SSH_FXP_ ...

I need to send a command before transferring a file. How do I do this?

I need to send a command before transferring the file. How do I do this?

The Active property of the socket-based component is true, though I know that the connection has been closed by the server. Why so?

The Active property, when set, indicates that the connection was successful and the component was ready. However if the connection is lost at the socket level, t…

The SSH / SFTP connection to JPMorgan (transmissions*.jpmorgan.com) fails. Why?

This is a known bug of their server software. It advertises support for keyboard-interactive authentication, but if the client uses this authentication mechanism…

Why is the speed of my SFTP transfer slow compared to WS_FTP or FileZilla?

This entry provides details on factors that can affect SFTP transfer speed, as well as some quick fixes. The common speed for SSH and SFTP data transfer is aroun…

Transferring files does not work while listing directories works. Are these different?

In SFTP listing directories and transferring files are very different operations. Try setting the PipelineLength property of the SFTP client component to 1 and t…

Why does the OnAuthenticationFailed event fire when authentication succeeds?

During the handshake the OnAuthenticationFailed event fires, but authentication succeeds. Why is the event triggered?

The SSH or SFTP connection to the server is closed or hangs during the data transfer stage (after a successful handshake). What should I do?

Troubleshoot when the SSH or SFTP connection to the server is closed or hangs during data transfer stage (after a successful handshake)

Troubleshooting: the SSH or SFTP connection to the server is not established (the connection is closed during the handshake)

Troubleshooting when the SSH or SFTP connection to the server is not established (connection is closed during handshake).