Hi, I am facing a weird problem with Rebex Ftp. The issue is that I resize an image in my C# code and then writes that stream to the Ftp server. Then I get another file, resize it and then try to write it to the same directory in the server through ftp. But the issue is that when I passes the second stream, an error is thrown "Not connected to server". Does the code automatically disconnects once a file/stream is uploaded?

Also, there is another issue that some image streams are uploaded successfully but some image streams are not. No exception is fired but they are not uploaded and the file is not created on the server.

Thanks in advance

asked 07 May '10, 11:15

imran%201's gravatar image

imran 1
16
accept rate: 0%

edited 10 Aug '10, 13:19

Rebex%20KB's gravatar image

Rebex KB ♦♦
258519

Hello, please send us a communication log (either mail it to support@rebex.net or edit your question to inclide it) produced using the Ftp object's LogWriter property, as described at http://www.rebex.net/kb/logging.aspx - this should make it possible for us to tell more! Please post logs for both these issues.

(07 May '10, 20:08) Lukas Pokorny ♦♦

Rebex FTP should not disconnect automatically once a file/stream is uploaded. However, if the FTP session remains inactive for several minutes, it might be terminated by the FTP server if it was configured that way. A log file should make it clear whether this is the case or not.

(07 May '10, 20:09) Lukas Pokorny ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×152
×16
×11
×3
×2

Asked: 07 May '10, 11:15

Seen: 330 times

Last updated: 10 Aug '10, 13:19