1

I took a sample mp4 video from here and uploaded it to the web server via FileZilla. Once the file was on the web server navigating to it in a browser gives the error when viewed in Mozilla.

Video can't be played because the file is corrupt

If you navigate to the URL in Chrome, you hear the audio but the video doesn't play.

If I download the video to my local machine from the web server the video won't load and I get errors saying it is corrupt. The file is fine before uploading.

I'm really confused about what is going on. I tried uploading a .mov file and I don't get this issue. The file uploads and runs fine (although I don't think .mov is supported by the HTML5 <movie> tag). I want to get the file in mp4 format.

Is this a known issue? Is this a browser issue or likely an ftp issue? I'm not really sure why this is happening.

Note

I have uploaded the sample file linked above from 2 different FTP clients and under Binary and ASCII uploads and it doesn't seem to make a difference.

  • Hi Leigero, To attract better answers and less guessing from the community please edit your question and include important information such as the complete markup your using. – Simon Hayter Aug 31 '14 at 9:24
  • I think this is something to do with the format of the file and browser compatibility? I get the same if I simply link directly to the uploaded file in the browser. However, downloading and playing the file locally should work OK - providing you have the correct codecs installed on your machine. Does the original file from the Apple website play OK for you? – MrWhite Aug 31 '14 at 12:01
  • @bybe I'm not really using any markup. I'm just uploading the file to the web server root via FTP clients and navigating directly to the video file. Embedding the video on a page doesn't work because the video itself is corrupt. – leigero Aug 31 '14 at 15:01
  • "Does the original file from the Apple website play OK for you?" - This file is not "corrupt". – MrWhite Aug 31 '14 at 16:11
  • @w3d Yes, I stated in the question that the video plays fine before uploading it. – leigero Aug 31 '14 at 16:29
1

You may have an anti-virus or firewall program (like McAfee or Norton's) on your computer that is interfering with the File Transfer. Try disabling that and see if it works.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.