upload failed error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 лет назад
Hi guys, I'm trying to create a downloadable product of size 1 GB.
I have done the following on my main web config file
(a)I have added this under system.web :
<httpRuntime targetFramework="4.5.1" enableVersionHeader="false"  maxRequestLength="102400" executionTimeout="3600" />

(b)I have added this under system.webServer :
<security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="524288000"/>
      </requestFiltering>
    </security>

Problem is that I cant upload anything can anyone help me out?

Thanks a lot in advance
7 лет назад
Hi guys, I'm still trying to create a downloadable product of size 1 GB.
I have done the following on my main web config file
(a)I have added this under system.web :
<httpRuntime targetFramework="4.5.1" enableVersionHeader="false"  maxRequestLength="1048576" />

(b)I have added this under system.webServer :
<security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="1073741824"/>
      </requestFiltering>
    </security>

I still cant seem to upload anything can anyone help me out? what am I missing?

Thanks a lot in advance
7 лет назад
Hello-

I've seen others who had difficulty with uploading very large files.
The workaround I typically suggest is to create a much smaller file of the same type, and with the same name.
Upload that to your product in nopCommerce. Then use FTP to upload the actual file to your site, overwriting the smaller "placeholder" file.

Note: This will only work if you have your media settings configured to save to file system and NOT to database.
7 лет назад
Hi, embryo

That seems to work fine. only problem is what if most of my vendors are not as computer savvy as you are??
I thought it should be a simple matter of clicking on a button?
Anyway thanks embryo for your help means a lot.

Regards Madina
7 лет назад
Hi Guys,

I have added the file type in the administration section:

Configuration > Settings > All Settings (Advanced) > catalogsettings.fileuploadallowedextensions

e.g

mp4,mkv

Restarted the application, but still cant be able to upload files, which is very frustrating.

I'm out of options.

Thanks guys for all your support.

Madina
7 лет назад
Yes, it should be a simple matter of clicking on a button, but there appear to be limitations to uploading via script (either with .NET or with Windows itself) that sometimes makes it necessary to work-around the problem.
Until there is a universal solution, we must all just try to do the best we can with the tools we have to work with.
7 лет назад
Hi, embryo

Well if that's the case it seems I have a lot of work to do.
Thank you Guys for all your support.

Regards Madina
7 лет назад
Hi Guys,

It works!!!

I think the problem is with my machine I can now upload files as large as 90 MB, BUT if I try uploading the main products of size 700 MB  I get an error stating file upload failed.
I hope this is a bug that only occurs on the development server?

Thanks

madina
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.