Hi,

I had recently download the Rebex File Transfer Pack for .Net 2.0. I was testing for a following scenario

  • A User tries to upload a File to the server. In between for some reason, the connection breaks and the file transfer is interrupted.
  • The user will try to upload again when the connection is available. In such a case, the file should not be re uploaded, but should resume from the last upload position.
  • For testing this scenario, I would start the "Resumable FTP Transfer" example available with the Trial and start an upload. During upload, I would disable my network connection for 5 minutes. This causes the Upload to break and give me an exception.
  • Once I enable my network connection, I again click on Upload and it prompts me whether I want to resume the transfer. On clicking "yes", it returns an exception stating FTP 552 error.

I am using WS - FTP Server as my FTP Server which is installed on a Windows Server 2003 machine.

can you please help me out with this problem, as we badly need the resume feature in our application.

Thanks

Vineed

asked 27 Jan '10, 09:12

Vineed's gravatar image

Vineed
1611
accept rate: 0%

edited 10 Aug '10, 13:42

Rebex%20KB's gravatar image

Rebex KB ♦♦
256312

Hello, could you please add the full message of the FtpException (552 error) to your question? This should make it possible to tell what is going on. It might be an "out of disk space" error, but we really need to see the message to be able to tell for sure.

(27 Jan '10, 13:49) Lukas Pokorny ♦♦

FtpExceptions with three-digit error codes represent errors reported by the FTP server. You have not included the full message of the FtpException with 552 error, but according to this WS_FTP Knowledge Base article, error code of 552 corresponds to "Requested file action aborted. Exceeded storage allocation (for current directory or dataset)." If this is the case, then it looks like the transfer could not be resumed because of insufficient disk space.

link

answered 29 Jan '10, 07:53

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18
accept rate: 32%

I'm getting this same issue and the exception is below.

/www.mywebsite.com/ftp/FileToResume.mpg: invalid REST argument (554).

at Rebex.Net.Ftp.CgtFNEZ(String , AoLBks , String , String , Int64 , FtpTransferState ) at Rebex.Net.Ftp.bjMtzmZ(String , Stream , Int64 , String ) at Rebex.Net.Ftp.GetFile(String remotePath, Stream outputStream, Int64 remoteOffset)

link

answered 20 Aug '10, 00:26

Will%20Beattie's gravatar image

Will Beattie
16
accept rate: 0%

Please disregard the above. I was calling GetFile instead of PutFile.

(20 Aug '10, 01:24) Will Beattie
Your answer
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:

×136
×13
×1

Asked: 27 Jan '10, 09:12

Seen: 2,806 times

Last updated: 20 Aug '10, 00:26