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

  • SEARCH
  • Home
  • 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 7579013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:34:13+00:00 2026-05-30T17:34:13+00:00

EDIT: Reworked my code a bit and decided to throw out URLLoader in favor

  • 0

EDIT: Reworked my code a bit and decided to throw out URLLoader in favor of the File.upload() method.

Now I’m stuck again >_<

Here’s the code I currently have, stripped down to bare-bones: https://gist.github.com/1943401

When I drag-drop image files onto my app, here is the trace log that gets returned to me:

[object Document] called.
doDragEnter() called.
doDragDrop() called.
file Extension Check = passed
Uploading files: C:\testimage.jpg
addImage() called.
currently uploading: [object File]
Making progress with [object File]..
Making progress with [object File]..
Making progress with [object File]..
Making progress with [object File]..
Making progress with [object File]..
HTTP Response: [HTTPStatusEvent type="httpResponseStatus" bubbles=false cancelable=false eventPhase=2 status=400 responseURL="http://api.imgur.com/2/upload.xml?key=********REMOVED**********&name=name&title=title"]
onCookieSent() called.
resultsListXML = 
Temp value= 
xmlString Value= 
Upload Complete: [DataEvent type="uploadCompleteData" bubbles=false cancelable=false eventPhase=2 data="<?xml version="1.0" encoding="utf-8"?>
<error><message>No image data was sent to the upload api</message><request>/2/upload.xml</request><method>post</method><format>xml</format><parameters>Filename = testimage.jpg, Upload = Submit Query, key = *********REMOVED********</parameters></error>
"]
  • 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-30T17:34:15+00:00Added an answer on May 30, 2026 at 5:34 pm

    I did something similar to Todds alternative. Basically I had to upload each image asynchronously (one at a time).

    So I created an array of images and created an integer (i) counter starting at 0.

    uploadImage(imagesArray[i]);
    

    Each time I uploaded an image the COMPLETE event was called.

    within the complete event function the counter was incremented. If the counter was less than the length of the imagesArray I would then
    e.g.

    i++
    if (i < imagesArray.length) {
    uploadImage(imagesArray[i]);
    } else {
    //all images have been uploaded.
    //reset vars
    i = 0;
    imagesArray = [];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

EDIT: I was chastised for being off subject. I edited out the file method
Edit: I just moved my HTTPRequest code into the onCreate, and now all of
edit: change of question if my code is like this: <form name=login action=https://login.extremebb.net/login method=post
EDIT I tested release in 32 bit, and the code was compact. Therefore the
EDIT: After spending a bit of time understanding the code I wrote I still
EDIT: on the server-side, if I remove the code from the run method in
EDIT : It turned out that this can only be done through an external
EDIT: Here is the edited control file (control.ascx): <%@ Control Language=C# AutoEventWireup=true CodeFile=Sale.ascx.cs Inherits=Enmasse.Modules.Demo_Enmasse.Sale
Edit: I'm looking for solution for this question now also with other programming languages.
EDIT: Changed as I have a different issue with the same code 2nd Edit:

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.