How can you react to an abort transfer command on the FileServer?
I am using the Rebex FileServer and a Rebex SFTP client. The server application is linked to a database to store users and custom file details. The FileUploaded/FileDownloaded event is used to update...
View ArticleAnswered: Does the file server disconnect or force authentication of users...
MaxSessionDuration specifies when SSH session renegotiation is to occur. This does not disconnect the user, it just renegotiates encryption keys. Forcing reauthentication is not supported by the SSH...
View ArticleHow to force a SFTP.Connect to abort.
In one thread I have this: _client = New Sftp _client.Connect(ipaddress, ipport) ' timeout on connect is 6 secondsIn another thread _client.Dispose() I can see that Dispose() will finish while Connect...
View ArticleHow to retrieve file from a foreach statement but using memory stream instead...
My objective is to take each file that is in SftpItem item and deserialize the item and place in sql database. My problem arises when trying to retrieve the item out of the for each loop. private void...
View ArticleTerminal IScreen best approach
We are trying to implement our own display of the terminal screen using the IScreen interface and this is the skeleton of the code:class RebexScreen : IScreen { RebexClient m_TnClient; public...
View ArticleAnswered: FTP State "reset"
Hello, have you tried calling Ftp object's Disconnect() method?
View ArticleAnswered: How to force a SFTP.Connect to abort.
This behavior is caused by the fact, that the Dispose method is not called on the currently connecting socket.We classified this as a bug. It will be fixed in next public release.
View ArticleFacing issues using PutFIleasync
Hi, I am trying to upload a file usinf memory stream. I amd calling below function and passing memory stream and filename. Bleow code executes OK without any exception, but file is not created.Am I...
View ArticleAnswered: Older FTP library together with recent SFTP library in same app?
Hi, you can either buy (new) Rebex SFTP and use its older version, or you need to update your old FTP/SSL by renewing its support contract (recommended). You can also upgrade your old FTP/SSL to Rebex...
View ArticleRebex.Net.SshException: The operation was not completed within the specified...
HelloWhile doing sftp.GetFile with a 500Mb file, i get the exception:2018-07-31 15:13:14.502 DEBUG Sftp(9)[1] Response: SSHFXPDATA (9045, 28672 bytes) 2018-07-31 15:13:14.502 DEBUG Sftp(9)[1] Command:...
View ArticlePossibility to catch the beggining of file transfer.
Hello, is there a possibility in rebex sftp server of catching the beginning of file transfer? Thanks.
View ArticleAnswered: Rebex.Net.SshException: The operation was not completed within the...
From the log, it seems that the server didn't send any data for 60 seconds so the client timed out. See highlighted part of the log:2018-07-31 15:13:14.633 DEBUG Sftp(9)1 Command: SSHFXPREAD (9068,...
View ArticleRebex.Net.FtpBatchTransferException: Cannot upload file
I am getting an error message indicating that RebEx can not access the file. Is there anything I can try for troubleshooting this error?FTP error: CannotTransferFile. Recommended action:...
View ArticlePossibility to catch the beggining of file transfer.
Hello, is there a possibility in rebex sftp server of catching the beginning of file transfer? Thanks.
View ArticleAnswered: Error codes for certificate issues?
Hello,i) When the trust between the client and server cannot be established via TLS (HTTPS is HTTP over TLS), a TlsException is thrown and will appear in the exception chain cought by your application....
View ArticleCannot enable private Key based authentication.
I have public and private key files.It was generated by Rebex library and cannot load the file in RebexTinySftpServer.exe(XML config file).---- BEGIN SSH2 PUBLIC KEY ---- Comment: "Saved by Rebex SSH"...
View ArticlePossibility to catch the beggining of file transfer.
Hello, is there a possibility in rebex sftp server of catching the beginning of file transfer? Thanks.
View ArticleAnswered: Cannot enable private Key based authentication.
The userPublicKeyDir key is supposed to be a directory path, not a file path. This makes it possible to use multiple public keys. Please create a new directory, copy generated_key.pub into it and...
View ArticleHow to open FileNode in stream for further transition?
Hello, I'm trying to receive the file in custom realisation of FileSystem and move it without saving on remote server. For that, I need to get the stream of file, how can I do that in such...
View ArticleAnswered: Secure IMAP issue
The "Server certificate was rejected because of an unknown certificate authority" indicates that the certificate validation failed because the root certificate authority is not trusted by the Windows...
View Article