Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Very large file upload > 2 GB with Adobe Flash

Explorer ,
Jun 20, 2013 Jun 20, 2013

Hello, anyone know how can I upload very large files with Adobe Flash or how to use SWFUpload?

Thanks in Advance, All help will be very appreciated.

TOPICS
ActionScript
3.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 20, 2013 Jun 20, 2013

if the error is from php it's a server limit, not a flash limit.

you need to adjust your php.ini or .htaccess file upload limit.

Translate
Community Expert ,
Jun 20, 2013 Jun 20, 2013

what happens when you use the filereference or file class?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 20, 2013 Jun 20, 2013

hi, I use code like this: http://hub.tutsplus.com/tutorials/creating-a-reusable-flash-uploader-with-actionscript-30-and-php--a...
it's using php and I can upload with that about 150 MB and I fully don't know how to upload large files. (> 2 GB)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2013 Jun 20, 2013

you're making a web based app?

what happens (error message) when file size exceeds 150mb?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 20, 2013 Jun 20, 2013

1. yes

2. I'm getting error message from php

if( $_FILES['Filedata']['error'] == 0 ){ 

  if(move_uploaded_file( $_FILES['Filedata']['tmp_name'], $uploads_dir.$_FILES['Filedata']['name'] ) ){ 

  echo 'ok'; 

  exit(); 

  } 

  } 

  echo 'error';    // Overhere

  exit();

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2013 Jun 20, 2013

if the error is from php it's a server limit, not a flash limit.

you need to adjust your php.ini or .htaccess file upload limit.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 20, 2013 Jun 20, 2013

not working, is there any other way to make large file uploader in Flash?

I found out that you can't upload more than 200 MB with php because of it's server side language and that you have to use Javascript with JQuery plugin, but I don't know how to use JQuery with Flash.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2013 Jun 20, 2013

the limit is set by the server, not php and not flash. 

the upload can be set in php.ini and possible .htaccess.

send an email to your server's admin/support and see you can do anything about the server's upload file size limit.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 20, 2013 Jun 20, 2013

I'm not sure if my php.ini is set up properly but everytime it froze at 1% of uploading.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2013 Jun 20, 2013

you control your server and can restart it?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 21, 2013 Jun 21, 2013

you're really cool now I can upload large files. I've uploaded successfuly 2.90 GB file on localhost.

What I did is that I've added these lines to .htaccess file.

php_value  upload_max_filesize  8G

php_value  post_max_size  16G

php_value  memory_limit  24G

but now I don't know how to edit .htaccess file at GoDaddy.com hosting.

PS. thank you very much for your help

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 21, 2013 Jun 21, 2013
LATEST

you're welcome.

contact support at godaddy and see if they allow you to change the upload limits.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines