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

Uploading to a GoDaddy Shared Virtual Hosting Account

3 Answers 55 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 01 Mar 2017, 08:51 PM

My boss and I want to add the RadAsyncUpload control to our website with the target folder being on a GoDaddy Shared Virtual Hosting Account. Now, this means that we have to pass through credentials to do this. After doing some Googling I found an instance where it was suggested to use an OnFileUploaded event to FTP the file up to the server (http://www.telerik.com/forums/use-radupload-to-trasfer-to-ftp-site).

This seems like an extra bit of work for something that should be really simple.

Is there a simpler way to go about this?

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 06 Mar 2017, 02:03 PM

Hello Joseph,

RadAsyncUpload is designed to target a generic situation where uploads are done in the current web app.

If you need specific functionality, you have a few options:

You can find a few additional ideas here: http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/how-to/how-to-manipulate-the-uploaded-files.

If you want to see built-in support for uploading to GoDaddy in RadAsyncUpload, I suggest adding your request to the feedback portal: https://feedback.telerik.com/project/108. This will let you explain how you expect this functionality to work (e.g., client-side or server side), how it should be configured, how should credentials be obtained and secured and so on. In turn, this will let the community review and comment on the idea, so our management can gauge the interest and impact of such an implementation.

Regards,

Marin Bratanov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Joseph
Top achievements
Rank 1
answered on 15 Mar 2017, 06:53 PM

My boss and I reviewed your response to both this forum post and the ticket.

As an experiment, we created a folder in our GoDaddy server that requires no credentials. It still didn't work.

I want to be able to set my RadAsyncUpload control thusly:

<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" TargetFolder="Fake.GoDaddyServer.biz/temp/temp" TemporaryFolder="C:\"></telerik:RadAsyncUpload>

and the file gets uploaded to the GoDaddy server. No code behind. No events.

My boss assures me that back when he used this control's predecessor (the synchronous upload control), this would have worked just fine. So why isn't it working for the asynchronous control?

0
Marin Bratanov
Telerik team
answered on 16 Mar 2017, 05:15 PM

Hi Joseph,

I am not sure how it could have worked before without a custom upload handler. This is what you will need to implement now, because both target folder and temporary folder need to be under the web application root in order for the built-in functionality to work.

Regards,

Marin Bratanov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
AsyncUpload
Asked by
Joseph
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Joseph
Top achievements
Rank 1
Share this question
or