Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7497215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:59:01+00:00 2026-05-29T18:59:01+00:00

When using Uploadify, you specify a folder for the image (eg ‘folder’ : ‘/uploads’),

  • 0

When using Uploadify, you specify a folder for the image (eg ‘folder’ : ‘/uploads’), however in the controller action of an MVC app the image is also being saved!

Im confused – is it Uplodify or the controller action that saves the image?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T18:59:03+00:00Added an answer on May 29, 2026 at 6:59 pm

    LillyPop – Uploadify sends the filestream via ajax to the controller action, so it’s the controller action (or service class called by the action) that does the heavy lifting. you’ll typically see something like this in your javascript method:

    <script type="text/javascript">
        function initupLoadify() {
            $("#fileInput").uploadify({
                uploader: '<%=Url.Content("~/scripts/swf/uploadify.swf")%>',
                script: '<%=Url.Content("~/en/PropertyDocument/Upload/")%>',
                cancelImg: '<%=Url.Content("~/Content/cancel.png") %>',
                auto: true,
                sizeLimit: 5500000,
                fileDataName: 'fileData',
                scriptData: { 'propertyId': $("#PropertyID").val() },
                buttonText: 'Add Document',
                onComplete: function(event, queueID, fileObj, response) {
                    $("#msg").html(response);
                    return true;
                },
                onCancel: function(evt, queueID, fileObj, data) {
                    $("#msg").html("<br />Operation cancelled");
                    return true;
                },
                onOpen: function(evt, queueID, fileObj) {
                    $("#msg").html("<br />Upload in progress");
                    return true;
                },
                onError: function(event, queueID, fileObj, errorObj) {
                    $("#msg").html(fileObj.name + " was not uploaded ");
                    if (errorObj.status == 404)
                        $("#msg").html("Could not find upload script. Use a path relative to: " + "<?= getcwd() ?>");
                    else if (errorObj.type === "HTTP")
                        $("#msg").html("error " + errorObj.type + ": " + errorObj.status);
                    else if (errorObj.type === "File Size")
                        $("#msg").html(fileObj.name + " " + errorObj.type + " Limit: " + errorObj.info / 1000 + " KB");
                    else
                        $("#msg").html("error " + errorObj.type + ": " + errorObj.text);
                }
            });
        };
    </script>
    

    the section script: '<%=Url.Content("~/en/PropertyDocument/Upload/")%>' is where the controller action is defined.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am uploading a file in my ASP.NET MVC application using Uploadify. Controller: public
I'm using Uploadify to handle uploads in my CakePHP app. Some uploads work fine
At first, sorry for my bad english. I am using Uploadify with image cropper
I am using Uploadify/asp.net mvc 3 to upload images. Is it possible to display
I'm using uploadify to do file uploads on a form. The files are required
I am using Uploadify to upload multiple files in my ASP.NET MVC application. In
I'm using Uploadify to upload an image to the server. The image is uploaded,
I am using 'Uploadify' Jquery plugin in my MVC 3.0 application to upload multiple
I have uploaded some images using uploadify and saving the original file in uploads
So I'm using uploadify to upload multiple images to a folder. Along with each

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.