在firefox中使用SWFUpload上传文件时出现302错误

时间:2013-07-11 09:34:20

标签: javascript jquery html asp.net swfupload

我使用Swfupload上传图片。但它只在firefox中显示error 302。它可以通过Chrome上传。

          upload1 = new SWFUpload({
    // Backend Settings
    upload_url: "/Articles/Photos.aspx?FolderName=" + FolderName,


    // File Upload Settings
    file_size_limit: "1024*5", // 5MB
    file_types: "*.bmp; *.gif; *.jpeg; *.jpg; *.png;",
    file_types_description: "Image Files",
    file_upload_limit: "10",
    file_queue_limit: "0",

    // Event Handler Settings (all my handlers are in the Handler.js file)
    file_dialog_start_handler: fileDialogStart,
    file_queued_handler: fileQueued,
    file_queue_error_handler: fileQueueError,
    file_dialog_complete_handler: fileDialogComplete,
    upload_start_handler: uploadStart,
    upload_progress_handler: uploadProgress,
    upload_error_handler: uploadError,
    upload_success_handler: uploadSuccess1,
    upload_complete_handler: uploadComplete,
    // Button Settings
    button_image_url: "../Images/XPButtonUploadText_61x22.png",
    button_placeholder_id: "spanButtonPlaceholder1",
    button_width: 61,
    button_height: 22,
    // Flash Settings
    flash_url: "/SWFUploader/swfupload.swf",


    custom_settings: {
        progressTarget: "fsUploadProgress1",
        cancelButtonId: "btnCancel1"
    },

    // Debug Settings
    debug: false
});

我不确定导致此错误的原因..

0 个答案:

没有答案