Uploading to a GoDaddy Shared Virtual Hosting Account

4 posts, 0 answers
  1. Joseph
    Joseph avatar
    2 posts
    Member since:
    Mar 2017

    Posted 01 Mar 2017 Link to this post

    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?

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4630 posts

    Posted 06 Mar 2017 Link to this post

    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.
  3. Joseph
    Joseph avatar
    2 posts
    Member since:
    Mar 2017

    Posted 15 Mar 2017 Link to this post

    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?

  4. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4630 posts

    Posted 16 Mar 2017 Link to this post

    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.
Back to Top