Welcome Guest Search | Active Topics | Sign In | Register

Ajax Uploader Options
sr
Posted: Wednesday, June 25, 2008 6:44:11 AM
Rank: Newbie
Groups: Member

Joined: 6/24/2008
Posts: 4
Your controls are very flexible & easy to use. It is the only control in the market that provides an error message when the file size uploaded is greater than what is specified. What I would like to see is convert the posted files to a stream object, similar to the MS FileUpload Control FileContent property. Right now you have the ToString method. I want binary files to be converted to a stream object without opening the having to open the file on the client machine for which I have no permissions.

I tried a couple of things, but the files are always corrupted....

We are evaluating the control before we purchase it. If this functionality is added it will make a great purchase for us.

Thanks,
SR
eo_support
Posted: Wednesday, June 25, 2008 8:50:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

Thank you very much for your feedback. We have been asked about this question before and our understanding is that since we already provided the file name, so it is not necessary for us to provide the Stream object.

"Files are always corrupted" definitely should not happen. We are not aware of any problem like this with our product. We will be happy to take a look on your machine through online meeting if you'd like. Please let us know!

Thanks
eo_support
Posted: Wednesday, June 25, 2008 9:22:08 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

Some more information:

The relationship between Stream and File is very straight forward and faithful. If the stream is wrong, the file is wrong. If the file is wrong, the stream will be wrong. This is a very strict byte-to-byte relationship.

In your case, since the file is corrupted, there are two possibilities:

1. Uploader corrupted the file when it transfers the file from the client to the server. It is very easy to verify this. Just use Windows explorer to check the uploaded file and see if they are indeed corrupted;

2. There is a problem in your code. If the files are OK but your code thinks its corrupted, then obviously your code is wrong;

As you can see, the problem is not whether we have Stream support. The problem itself indicates an issue somewhere else and that's what needs to be addressed. Merely adding Stream support will not solve the problem for you.

Please verify step 1 first. If step 1 runs fine, then obviously you need to focus on your code. In that case we can help you take a look of your code (we can setup an online meeting for this) to see if we can spot anything obvious, specifically whether you are getting the correct file name from the uploader; But you should not expect us to debug your code.

If step 1 does not run fine, please send us the sample file that did not work (please see your private message as to where to send). We will look into it and see what we can find.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.