file-upload

What is the best scenario to upload various file where each file is more then 100 MB ?

i'm uploading these files in apache, using php. is there any best way to make uploading faster ? ...

Facebook application with video uploading capabilities

I need to upload video files through Facebook application and later visualize all uploaded videos so that people can vote for a video they like. I searched and read some articles, but I still have questions that are not completely clear for me: Is it better to use iframe or FBML If I use iframe is it possible to use input type="file" a...

How to get deployment directory path in JSF application?

Is it possible to find out deployment path from JSF application? One more question (if the answer for the former question is true): is it legitimate to store some uploaded files there? ...

GWT: how do I check the response code after a file upload ?

I'm using a GWT FormPanel to upload a file; the file is processed on the server and I place the result on the client side. FormPanel works correctly, as in this question (How to get a submission result out of FormPanel), but what if the server responds a 404 or 500 ? How do I capture the http response after a file upload ? ...

Upload Image using blackberry.

I want to upload an image in blackberry simulator using MultipartPostData, the following is my code but it does not seem to work. I have also signed my .cod file. Can anyone help me please? public void postData(String Url, bytes[] data) { if (DeviceInfo.isSimulator()){ Url=Url+";deviceSide=true"; } HttpConnection httpConn=null; Output...

Cannot upload a file to a webservice and get the response in Json format

I have a simple webservice that I would like to upload a file to. The problem is that I need the response in json. Form my experience in order to get a response in Json my request has to have a content-type of 'application/json'. But ofcourse this cannot be the case with a file upload since the content type will have to be 'multipar...

ASP.NET - fileupload using input file

Hi, I am using VS-2005. In my website I have used the html input control with type=file. The problem is that when I place this control inside an 'UpdatePanel' the 'PostedFile' property becomes 'Nothing' on postback. So in order to get things working I have removed the 'UpdatePanel' and things are working fine. However, I am intereste...

Uploadify sizeLimit issue

Hi everyone, I am using uploadify in a project with the following script: $(document).ready(function() { $("#uploadify").uploadify({ 'uploader': '_assets/flash/uploadify.swf', 'script': 'uploadify.php', 'cancelImg': '_assets/images/nav/cancel.png', 'folder': 'uploads', 'queueID': 'fileQueue'...

How to upload files (multipart/form-data) with multidimensional POSTFIELDS using PHP and CURL?

I'm having problems with posting a multidimensional array with file uploads using PHP and CURL. The multidimensional array is for example: $post['question'] = 'Are you human?'; $post['answers'] = array('yes', 'no', 'maybe'); $post['file'] = '@/path/to/file'; // Output: Array( 'question' => Are you human?, 'answers' => Array( ...

php.ini config issue - testing file upload on 3 different servers

Hi, hope someone can help as I'm not sure what's going on here - I have a live site where I want to allow file uploads of over 2MB. I have set the standard config options in php.ini as follows (running phpinfo() shows these settings fine): upload_max_filesize 25M 25M post_max_size 25M 25M max_input_time 60 60 memory_limit 32M 32M...

Please help me with file upload with text fields in codeigniter.

Please help me with file upload with text fields details going to database in codeigniter. ( for example i want image name and some another form field going to database and file uploads to server) Also how do i stop the form submission in database upon page resfresh ? ...

Unable to upload image in php, Permission denied?

Same script is working fine in localhost but it is not working in server. It is throwing some error- Warning: copy(album/6349416.jpg) [function.copy]: failed to open stream: Permission denied in D:\Hosting\6448289\html\upload.php on line 112 corresponding 112 line is- $image_name=$unq.'.'.$extension; //the new name will be containing...

how to enable file-access in server server configuration?

I am getting following error while uploading image on server- Warning: copy() [function.copy]: URL file-access is disabled in the server configuration in D:\Hosting\6448289\html\upload.php on line 112 corresponding 122 line is- $copied = copy($_FILES['image']['tmp_name'], $newname); ...

jQuery file upload - get the "Open" event from the dialog window

Hi Guys, Does anyone know how can I find out when the "Open" button was clicked in the dialog window of the file upload? I just want to do some checks once this has happened (validation etc.) and then perform the upload automatically. Also - I don't want to use any plugins as I know there are a few. ...

GWT: How to return (and handle) an error from multipart form (file) upload

Hello I have and Google Web Toolkit (Multipart) Form which post a file to my servlet. When error condition is happening in servlet I return an error. When everything is OK I return an JSON string. ... response.setContentType("text/html"); response.setCharacterEncoding("UTF8"); response.getWriter().write(out.toString());...

how to access php.ini file of server?

My application was working fine, I dont know what happened suddenly image upload function stoped functioning.It gives this error- URL file-access is disabled in the server configuration in D:\Hosting\6448289\html\upload.php on line 112 for any file access allow_url_fopen must be ON but this is OFF now. if you open this link - www.shi...

Ext Js uploading file brings up one file dialog on response

I have the following code which I am submitting to an aspx page fp.getForm().submit({ url: 'SomeAspxPage', method: 'POST', waitMsg: 'Uploading your file...', isUpload: true, success: function(fp, o){ ...

ASP.NET MVC Server File Browsers

Hi, On my current project we would like to expose some server directories to the client so they can control their own assets/static HTML/CSS etc. The existing web forms project is being replaced by MVC and I am struggling to find an out of the box server file browser with which to expose this functionality. Here is an example for WebFo...

How to check session when downloading uploaded file in cakephp?

Hi there, I have created a feature to upload and download file in my site. But I want to validate the download feature. I want to allow a user to download file if user is already logged in to my site and given permission to download. Help me. How to check whether session is present there or not? I am uploading files in /app/webroot/doc...

alternate method if allow_url_fopen if off in php.ini file.

My application was working fine but I don't know how suddenly allow_url_fopen set OFF in my php.ini , there is php.ini file in my ftp dir but when I execute phpinfo(); it gives all php.ini configuration information.I dont know how to set this ON.can anybody tell me the alternate way to my code- $image_name=$unq.'.'.$extension; $newname...