Questions tagged [rebex]

Commercial pre-packaged components for .NET/.NET CF/Xamarin.iOS/Xamarin.Android.

Rebex has components for SFTP client and server, FTP, FTPS, IMAP, POP3, SMTP, NTP, SNTP, Time, Mail, HTTPS, SSH Shell and Telnet Terminal emulation, Security, ZIP compression, File Server.

26 questions
3
votes
1 answer

Access to the path is denied when programmatically downloading a file from ftp in C# on Win7 64bit

I'm using the C# framework REBEX to download file(s) from an FTP on Win7 64bit in VS2008. After I press F5 to start debugging, I get an error that Access to the path I'm downloading to is denied. I believe this may be due to UAC and elevated…
frenchgoat
  • 430
  • 5
  • 11
2
votes
2 answers

Unable to properly create the password protected zip file using Rebex library

I am trying to create a password protected zip file using the Rebex libraries. Here is the code that I use using (ZipArchive zip = new ZipArchive(ZipFilePath, ArchiveOpenMode.Create)) { // Set the Password first zip.Password = strUserPIN; …
James
  • 1,081
  • 4
  • 15
  • 34
1
vote
1 answer

Implementing IMAP Idle using Rebex in .Net

I have created a .net mail client application using Rebex library and want to implement something like 'push mail' system and I came to know IMAP allow this which is called as IMAP IDLE, any one having any idea how can I implement this in my…
BreakHead
  • 10,480
  • 36
  • 112
  • 165
1
vote
1 answer

Rebex.net authentication debugging

I am currently working on the application that uses SFTP. Our users are using FileZilla client to upload files that are stored in Azure Storage and then those files are processed by our api. Currently we found a bug when the file from user A was…
Vladimir
  • 322
  • 1
  • 17
1
vote
1 answer

unable to save dynamically created MemoryStream with rebex sftp

I'm using StreamWriter to generate a dynamic file and holding it in a MemoryStream. Everything appears to be alright until I go to save the file using rebex sftp. The example they give on their site works fine: // upload a text using a MemoryStream…
David Wick
  • 7,055
  • 2
  • 36
  • 38
1
vote
1 answer

In SSIS, How to fix this exceptions (Rebex.Net.SmtpException, Rebex.Net.ProxySocketException & System.Net.Sockets.SocketException)

SSIS package in which i am using Send Mail Task Plus to send email via (email-smtp.us-east-1.amazonaws.com). My package is running fine on testing server but when i try to execute it on dev server it shows exception. I also tried to "telnet…
Saad
  • 39
  • 1
  • 4
1
vote
2 answers

IMAP rebex Client connection timeout

I have the list of unique keys of unseen emails and my current logic is to process it in one session/connection. However, sometimes server[rebex] crashes and sends an error * Rebex.Net.ImapException: The server has closed the connection. at below…
Deep Jadia
  • 111
  • 1
  • 9
1
vote
1 answer

The specified message is out of range error

I'm getting the following error for a specific email using a POP3 server: Rebex.Net.Pop3Exception: The specified message is out of range. When using: Dim SequenceNumber As Integer = 0 Dim MailMsg As Rebex.Mail.MailMessage = Nothing Dim UTF8 As New…
Wesam
  • 932
  • 3
  • 15
  • 27
1
vote
1 answer

Rebex SFTP error in C#: Permission denied on PutFile

string msg = "Writing to file."; byte[] data = System.Text.Encoding.Default.GetBytes(msg); System.IO.MemoryStream mem = new System.IO.MemoryStream(data); ftpClient.PutFile(mem,"file.txt"); While I connect with no issue, I've been receiving this…
1
vote
1 answer

How to resolve failed assembly verification when installing assembly into SQL Server

I need to do SFTP from within a SQL Server context. I can do FTP with MS libraries, but they do not support SFTP. So I downloaded Rebex, and put together a sample project, and tried to install it into SQL Server as a CLR stored procedure. When doing…
Greg Gum
  • 33,478
  • 39
  • 162
  • 233
0
votes
1 answer

Login error using Rebex with SMTP on Office365

I have successfully configurated Office365 environment to send and receive email following these docs: https://blog.rebex.net/office365-imap-pop3-oauth-unattended https://blog.rebex.net/office365-ews-oauth-unattended Now I'm using Rebex library and…
Emanuele
  • 648
  • 12
  • 33
0
votes
1 answer

Problems with rebex sftp file deletion

I'm get a SftpException: No such file; File not found. when using Rebex sftp's Sftp.DeleteFile(string filename) which is especially odd because I'm first checking that the file exists. Here's the relevant sample code: foreach (var file in…
David Wick
  • 7,055
  • 2
  • 36
  • 38
0
votes
1 answer

Manipulate Rebex.MailMessage Html String

I am currently working on a message watcher service we have and my task is to simply embed message details into the message body. I have tried using a string builder for this however i have found that my message body is a html based string. I'm…
0
votes
1 answer

Unable to zip and encrypt 100MB file using Rebex C#

We have a simple code that tries zip and encrypt a file. That code works perfectly for the moderately size files. However, when we try to encrypt and zip the file that has the size of 100MB, the contents of the file are lost in a process and the…
James
  • 1,081
  • 4
  • 15
  • 34
0
votes
1 answer

Can the S/MIME Content Type of e-mail be explicitly defined?

The recipient expects a signed and encrypted message with attachment. In their specification, under the e-mail attachment section they state "The Content-Type of the MIME-Parts has to be Application/octet-stream". Our attachment is of the required…
enpsecok
  • 3
  • 1
1
2