I am uploading the video files with flash uploader object and then convert it into .mp4 format through Zencoder. Firstly file gets uploaded into server folder. All the files with extension .wmv , .flv etc. are gets moved to folder, But when I upload .mov file then, it does not gets uploaded into server folder. Is there need to change any server settings?
You should do this async, upload the file, store it (here you make sure your file is saved properly, and then launch the encoding process).
It seems you may be running into some timeout issues, since no especial treatment is needed for .mov files in php or apache.
Related
I'm trying to upload files to Wampserver using php. I can upload like any kind of text file, excels, html, images and .zip, but when I try to upload .rar or .mp4, even though the POST method on the browser shows a 200 the server doesn't allow it, so the file isn't stored on the server.
What I have to do to allow wampserver to accept some file extensions that I want? Thank you.
Change the settings in the PHP.ini file. You're looking for:
'post_max_size'
'upload_max_filesize'
Set those to what the values you require are.
I know for the fact that there is trojan or malware in php which represents itself as an image. And I also know that to filter out the file upload we use extensions such as .txt or .png.
Is there a way to scan the files manually when they are being uploaded into the server using server built-in antivirus or the server doing this kind of tasks automatically for us? ( I mean particularly in cpanel )
thanks
If you are worried about code being uploaded to your server in the form of an image, simply re-encode the image upon upload. A file containing code with an image extension will throw an error when the encoder tries to process it.
I'm using blueimp/jquery-file-upload for file upload. My back-end language is PHP. While user uploaded their docs few files were uploaded without any extension. When i see my file upload tracker those document names are "blob". But it is not possible different users uploading files with same name. So it should be something handled inside bluimp source code. blueimp should change some type of file names to "blob" and those documents are uploaded without any extension in server. Does anyone have an idea about this?
I am frequenty getting "unexpected end of file" errors, I think they only happen on included files and not the base files themselves. But anyway they happen whenever I upload a file at the same time a user happens to load a page that uses the file that's being uploaded.
How would I go about detecting whether a file is being uploaded? Or is there some way to configure my FTP client (I use FileZilla) to read-lock files while uploading?
You should upload to an temporary directory, and switch the completely-uploaded file with the old file.
I have a backup of my website in WinRAR file, I wana upload it on my new website... So I uploaded that WinRAR file on my new website panel, but it didn't worked...
Actually I'm moving my website to another hosting, so I downloaded the backup in WinRAR file and upload it on new hosting, it uploaded successfully but its not working.. it shows the default page of that hosting... check this http://kownleg.comyr.com, I dont know whats this error all about, I'm newbie... pls help
any suggestions, why this happening or how can we upload WinRAR backup file??
Upload the individual files to the server using the same method you used to upload your compressed file. The key is to NOT send the server a compressed file if you are unable to decompress it on the server.
This should be probably related to file permissions...
Most of the hosting providers take care for security reasons.
Check you file permissions after decompressing the file.
Should be no difference between uploading a single compressed file (and then decompress it) and upload every single file.