Uploading multiple files simultaneously with Flex

前端 未结 5 874
时光说笑
时光说笑 2020-12-30 16:05

I have been working on a flex uploader, where the user can select multiple files.

It works fine when the files are uploaded in a queue (one at a time), however as so

5条回答
  •  春和景丽
    2020-12-30 16:22

    The problem is with the model in which Flex connects to the back-end. With HttpService and Remoting, Flex clients opens a Http connection to the server. If you are connecting to the same Servlet / service on the server, it will use the same connection and can run into issues.

    For a simple test, try create two instances of the same servlet and send upload requests to 2 servlets for 2 uploads. It should work.

提交回复
热议问题