This is a migrated thread and some comments may be shown as answers.

How to pre-select a fixed file for upload

3 Answers 82 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 14 Feb 2009, 11:36 AM
Hi all

I would like to programmatically set the file path and name for upload so the user does not have to browse for the file.  In my application the user goes to a web page and does some image work that generates and image which is saved locally, always to the same path and file.  I would like the user to then simply click Upload rather than having to browse for and select the file. 

If this is not possible due to security issues on the browser, are there other options you can suggest?  Maybe some other kind of upload (http post?) that can be tied to the progress monitor?

Thanks
Mark

3 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 16 Feb 2009, 02:42 PM
Hello Mark,

Unfortunately there are no workarounds for this issue. This is a limitation of the default input-file on which  RadUpload is based. You can find more information about the limitations of the RapUpload component here.

Kind regards,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Mark
Top achievements
Rank 1
answered on 16 Feb 2009, 06:08 PM
Ok.  I have found an ActiveX control I may use for this purpose.  It allows fixing the file path and hiding the selection dialog.

http://www.chestysoft.com/xpostupload/manual.htm

It sends the file with HTTP Post to an aspx page capable of receiving the post.  I have a lot of processing already written into the file handling on the server with radUpload.  Can radUpload be configured to receive the post and process the files?

Thanks
Mark

0
Genady Sergeev
Telerik team
answered on 18 Feb 2009, 04:49 PM
Hello Mark,

Unfortunately RadUpload can't be used for such functionality. However the page that you have provided explains a way to save the received files. Consider investigating point 6.2 (ASP.NET) of the Chestysoft manual.


Kind regards,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Upload (Obsolete)
Asked by
Mark
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Mark
Top achievements
Rank 1
Share this question
or