Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
Browsing all 3977 articles
Browse latest View live

Single file upload by SFTP.PutFile question

The multiple file upload PutFiles have overwrite or rename option, Does PutFile single file have similar options? If the file is already on the remote folder, does putFile overwrite the remote file?Why...

View Article


A general qustion, is there a search function in this forum?

How do I find a topic without browse the whole Forum? That seems a general function which I could not figure out on this Forum. Odd.

View Article


Answered: username with embedded period

We do not do any format check of the username, so a period inside the username, should not matter. Just try to change the string in your program to the new value, try this code:Sftp sftp = new Sftp();...

View Article

Answered: How to check if telnet has been connected successfully?

The line Telnet telnet1 = New Telnet("192.168.1.1") actually does not connect to the server yet. The connection will actually be made each time a new instance of Scripting or VirtualTerminal object is...

View Article

Answered: Content disposition

Attachment.FileName is the suggested way to go unless you need to dive deeper. This property abstracts you from the low level problems (e.g. ocasionally some emails out in the wild lack the MIME header...

View Article


Answered: Exchange Web Services accessing Public Folders

Hi, here is a new beta build with the Public Folders support. It is accessible as a EwsFolder, so basically Ews.GetFolderInfo(EwsFolderId.PublicFoldersRoot) or...

View Article

Answered: How to load and save .MSG messages with as little modifications as...

Loading a .MSG message into the MailMessage object involves a conversion from Outlook .MSG format to the standard MIME format (saving is a reverse process) and properties that don't have MIME...

View Article

Answered: How to resend command if InvalidOperationException is received .

InvalidOperationException can have two causes - it either means that the error is in your program (e.g. it is not possible to call the GetFile method before you are connected and logged into the server...

View Article


Answered: Difference between WaitFor, ReadUntil and CheckFor

Hi,Scripting.WaitFor and Scripting.ReadUntil methods are both for the same purpose, they both receive data from the server, but they differ in their return values. Scripting.WaitFor is intended for...

View Article


Answered: How to write my SFTP / SSH server in .NET C#

With the Rebex File Server component, writing your own SFTP/SSH server is as easy as a few lines of C# code:var server = new FileServer(); // bind SFTP (runs over SSH) to port 9022 server.Bind(9022,...

View Article

Answered: When to get a source code edition?

Source code usage scenariosOur customers provided several reasons why they want to obtain component source code:Help with debugging (this is - as you can guess - probably the most common case).Ability...

View Article

Answered: The client and server cannot communicate, because they do not...

Could you please create the communication log of the failing communication as described in this article withRebex.LogLevel.Verboseand then either post it here or mail it to support@rebex.net? We will...

View Article

Answered: Rebex SFTP slow

SFTP and SSH protocols are a bit tricky when it comes to packet sizes and when the client’s and server’s are out of sync, speed suffers.We have published some additional settings in the following beta...

View Article


Answered: SFTP difference between downloadfile and GetFile of SFTP

GetFile/PutFile methods are the more simple variants. They are designed to transfer one file with one method call.Download and Upload methods are multi file (batch) operations which will allow you to...

View Article

Answered: RunCommand timeout

I have tried reproducing this agains both v1.0.5298.0 and the current version and I can't trigger the unwanted timeout after 60 seconds. Are you sure you are multiplying the seconds by 1000 to get a...

View Article


Answered: FileTransferClient object

The FTP/SSL and SFTP protocols are actually different protocols.The Ftp class is there for plain FTP and FTP/SSL servers, whereas the Sftp class is used to connect to Sftp servers.The...

View Article

Answered: File is used by other person

This is something that you have to manage yourself. From the SFTP protocol perspective there is no difference between a file that is still being uploaded and file that is complete. Once you instruct...

View Article


Answered: Exception Type

Exceptions in Rebex components:standard exceptions - ArgumentException (bad argument provided) - InvalidOperationException (you called a method when you shouldn't) - ObjectDisposedException (the client...

View Article

Answered: Could you send me the link to your custom Diffie-Hellman...

From our release notes I can see that this has been released as part of release 2012R1 so 2012R1 an all upcoming releases have automatic workaround:Cryptography: Diffie-Hellman and DSA algorithms fall...

View Article

Answered: FTP/SSL: can not download file. File action is not taken (450)

I found out why. It's not the component's fault but my code. I have a typo in the code that gets file names from file list. So the variable FileName stores a file name that not exist.Sorry for...

View Article
Browsing all 3977 articles
Browse latest View live


Latest Images