I have downloaded trial version(RebexFtp-Trial-3.0.3588.0-DotNet2.0.exe). After installing i got some sample code in C# and vb.Net. I understood how to upload/download files from remote server. In the trial version, asp:fileupload control is used. Do we have to use the same one? I dont know how user interface should be there for upload. Will you provide sample code to implement GUI. Is there any progress bar available?

asked 22 Jan '10, 09:32

swati%20kachare's gravatar image

swati kachare
161
accept rate: 0%

edited 10 Aug '10, 13:41

Rebex%20KB's gravatar image

Rebex KB ♦♦
256312


You mentioned ASP.NET FileUpload control, so I will assume that are trying to enhance the FtpBrowserWeb sample to show a progress bar while a file is being uploaded. Please let me know if this is not the case.

When Rebex FTP is used in an ASP.NET web application, it runs at the webserver and only covers the process of transfering data between the webserver and an FTP server. The process of uploading a file from a user's web browser to the webserver is a separate task that is not handled by Rebex FTP.

In the FtpBrowserWeb sample, we used .NET's FileUpload WebControl to implement it. Unfortunately, this is only a simple control that doesn't support displaying any progress bar.

To add a progress bar, you would either have to use a third-party upload control for ASP.NET which supports displaying the progress bar or write our own (but this is actually quite complicated). Please check out this third-party blog post about progress bar in ASP.NET - its comments section also contains lot of additional information.

link

answered 25 Jan '10, 13:40

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.2k18
accept rate: 32%

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
×7
×2
×1

Asked: 22 Jan '10, 09:32

Seen: 354 times

Last updated: 10 Aug '10, 13:41