file-upload

ASP.NET FileUpload : not work if there's validator ?

Hi folks, i've the following code: <asp:UpdatePanel runat="server" ID="upPanelFoto"> <ContentTemplate> <asp:FileUpload onChange="CaricaFileImmagine();" ID="FileUpload1" runat="server" BorderStyle="Solid" /> &nbsp;<asp:Button ID="btnCaricaImmagine" runat="server" Te...

How to upload multiple files in PHP

All the scripts I have found via Google search rely on some sort of screen that first asks the user how many files they need to upload and the upload script works based on that number. But what if I don't want any limits, but want to allow the user to upload as many or as few as they want. How to go about this? All I have for now is th...

How to retrieve contents from a uploaded file.

I am using cakephp framework. I would like to retrieve the contents of the uploaded file and store it in the database. I want to be able to search the content of the uploaded file. I was made aware that file_get_contents would work for plain .txt files. But all my documents are .docx and .pdfs. Is there any solution I could use. I app...

My Site Video upload speed is slower than other site?

I have uploaded a same file to two different sites it had 30% time difference what are all the major factors affecting this? and what should i do to increase my sites upload speed? ...

How does google mail implement the new upload functionality with html5?

I noticed while using Firefox and Chrome that in gmail I can now simply drag & drop multiple files in a new mail. Then suddenly a bar grows and I can drop the files there and they get uploaded. I think this is html5 functionality. Does anyone have information about how to implement this? What is needed from html5 and how to handle it se...

How to check whether the uploaded file is XLS file or not ?

I have a file uploader module. The UI is created using simple HTML and Javascript. Server side I am using Java code. I want to check the type of the uploaded file. ...

Uploading files are very slow in my PHp project

I am working on a osCommercre project, in which there pages for uploading the reference files, we have given functionality to upload the file upto 100 MB size, Now the client Complains me that customers are complaining for the late upload of files, what should i do to increase the upload speed? ...

Why would you upload assets directly to S3?

I have seen quite a few code samples/plugins that promote uploading assets directly to S3. For example, if you have a user object with an avatar, the file upload field would load directly to S3. The only way I see this being possible is if the user object is already created in the database and your S3 bucket + path is something like ...

How do I scp the (huge) output of a command directly to a remote machine?

Note that I can't first store the file locally -- it's too big. This (obnoxious) page (scroll all the way to the bottom) seems to give an answer but I'm having trouble disentangling the part that's specific to tape drives: http://webcache.googleusercontent.com/search?q=cache:lhmh960w2KQJ:www.experts-exchange.com/OS/Unix/SCO_Unix/Q_2424...

C# .exe upload of multiple files to PHP server - filename param?

What is the best way for a C# .exe program, to upload to a php server script that accepts file uploads. If using .NET WebClient is the only way, is there a way for WebClient to specify the parameter name, rather than just the file? For example, the C# .exe would do basically what a simple html form would do in this case. <input nam...

file upload problem with browser

hi var file_upload=document.getElementById('picture-upload').value; The code returns diffrent values in two browsers. in firefox,ie returns 'filename.ext' example: test.jpg but in opera returns 'fullpath\filename.ext example:C:\fake_path\test.jpg Is any one knows the problem ...

Asp.Net Check file size before upload

Hello, I want to check the selected file size BEFORE uploading a file with the asp fileupload component. I can not use activex because the solution have to works on each browser (firefox, Chrome, etc..) How can I do that ? Thanks for your answers.. ...

Sinatra, progress bar in upload form

Hi! I'm developing a Sinatra app that consists of an upload form, with a progress bar indicating how much of the upload has completed. The process, as described by ryan dahl, is the following: HTTP upload progress bars are rather obfuscated- they typically involve a process running on the server keeping track of the size of the te...

<comp:fileUpload> supporing jar file?

Hi, I have use the following tag. But i don't know the jar file. i want to add that jar in my project. <%@ taglib uri="/tags/taglib" prefix="comp"%> and tag : <comp:fileUpload value="#{uploadBean.uploadedFile}" uploadIcon="" uploadOnMouseOver="" uploadOnMouseOut="" styleClass="" progressBarStyleClass="" cellStyleClass="" activeSty...

Zend PHP Uploaded File Permission on Windows 7

I have Zend Server CE running on Windows 7. By Default I have Apache running as a Service, Log On as Local System Account. My upload Action saves an uploaded file to its Destination OK, however the permission on the file is set to only SYSTEM, Administrators and IIS_IUSERS. Once uploaded, I cannot open it or move it using PHP. I am us...

[PHP] set the upload_tmp_dir but file no where to be found

I have a few image upload scripts and wordpress blog as well. I think the client tried to upload a 3mb+ images or so and since then everythings stopped working, to further inspection and adding error handlers i found out that it was UPLOAD TEMP DIR not FOUND i cant touch the ini file, its shared hosting but i can create a local ini fil...

Uploading a file using PHP

I am uploading a file to soundcloud.com from my own server with using an API in PHP: if (isset($mime)) { $tmp_file = $tmp_path . $_FILES['file']['name']; // Store the track temporary. if (move_uploaded_file($_FILES['file']['tmp_name'], $tmp_file)) { $post_data = array( 'track[title]' ...

Send Email Confirmation on SWFUpload

Not sure if too many of you are familiar with SWFUpload. It's a flash/js/php based uploading script. My main issue is that I'm decently fluent in php where I can create a simple mail() script, however, with the various JS files I'm not sure if it'd be better to create the mail function in JS. If anyone has had experience with SWFUpload ...

Upload files to hosting servers

Hello! I want to ask how to upload file to some hosting server ( for example mediafire )?? I know that I must use something called POST/GET, but I don't know relly how to use them :/ I programming in Java,C++,C#,PHP so if you want write some small piece of code in these languages. ...

Get post parameter before upload

Hello! When I use Commons FileUpload the method parseRequest(request) uploads files and also reads additional post parameters. So I can get parameter values only after uploading the files. The problem is that I need those parameter values before uploading the files (one of the parameters is upload_path). Is there any way to get post pa...