Home > Net >  Daemon upload a file to a server, a upload leads to site
Daemon upload a file to a server, a upload leads to site

Time:05-20

Made a trill project, the front desk users to upload video to the storage are ok, but when I put the video on the trill interface to trill, IIS under all sites will be won't open, remote connection is not on, but also in the running to trill upload work, only work finished, website to browse again, what's the problem? Server bandwidth of 3 m, upload video is 50 m or so, every time I upload leads to the entire server even not on...

CodePudding user response:

As you say, the front desk users to upload video to the storage is no problem, then upload the video to the trill server video should be read from the storage folder, call interface in your server upload, if you couldn't find the reason, you can write a separate service to complete this step to upload work, does not affect your IIS web site,

CodePudding user response:

Big probability because your upload video is asynchronous, before the video did not upload the complete, the main thread has been occupied, interface has been in a state of suspended animation, finished the main thread to release, change the upload video function to asynchronous upload, you can add an upload progress to observe the situation of the transmission,

CodePudding user response:

Server configuration not separate storage have a site or use a third party
  • Related