file-upload

Tracking old uploaded files on a web server - How do you know what isn't used anymore?

Users can upload files to the server, which are stored effectively forever. I want to know if anyone has an idea for tracking orphan files. A few of my ideas involve logging every upload, but then the files are usually referenced in html which isn't easy to track. Files can sit unused but still be referenced. I could do a fuill text ...

Save a <canvas> as a file in a form

Using Canvas method toDataURL, I would like to be able to save the image on the server side (using Rails). With toDataURL string, how to use it in a form that can be seen as a file attachment in a HTML form ? ...

You don't have permission fckeditor php

i upload fckeditor in myadmin and i also make upload files in $Config['UserFilesPath'] = '/uploadfiles/' ; i had also gave 777 permission in upload files and browse.html but when i want to upload files there is showing error as below "You don't have permission to access /wealthfinance/admin/fckeditor/editor/filemanager/browser/defaul...

Problem in file upload

whenever i am uploading trying to upload file having size more than the size specified in maxRequestLength , browser is showing "webpage can not be displayed" . an someone please tell me how to solve this problem ...

Large File Upload Memory Issue PHP

I recently took over a file hosting site (similar to rapidshare, megaupload etc.) and currently averaging about 75k visitors/day. After the migration, we wrote our own system from scratch. It's now time to upgrade the infrastructure and have been toying around with web servers and scaling. Now the issue is that after file upload is compl...

The SaveAs method is configured to require a rooted path, and the path <blah> is not rooted.

OK I've seen a few people with this issue - but I'm already using a file path, not a relative path. My code works fine on my PC, but when another developer goes to upload an image they get this error. I thought it was a security permission thing on the folder - but the system account has full access to the folder (though I get confused...

PHP Uploadprogress extension function always returning null, with no upload data.

I am using php 5.3.2 with uploadprogress extension to get a progressbar during upload using zend framework. Even the demo provided with zend is not working. code in zend example - if (isset($_GET['uploadId'])) { set_include_path(realpath(dirname(__FILE__) . '/../../../library') . PATH_SEPARATOR . get_include_path()); ...

file upload with php

Hi every body I am uploading file with php every thing is fine but move_uploded_file is not working every variable displayed record and all permission for file is set function uploadfile($filename) { $filetype=$filename["type"]; $filename=$filename['name']; $filetempname=$filename['tmp_name']; if($filetype=="applicat...

Ajax(jQuery) strange file post problem

Hello, I have a problem posting file via ajax jQuery function. I have something like this: $('#my_form').submit(function() { var serialized = $(this).formSerialize(); var sUrl = "xxx"; $.ajax({ url: sUrl, type: "POST", data: serialized, success: function(data) { ...

Flash upload keeps going after page refresh

I have a rather strange problem, well strange to me. I have a file upload tool that I created in flash (as2). The file uploads images and then writes the image details to a database. However, I seem to have a problem then when I refresh the page, the upload script keeps working. And this seems to cause some issues with writing to the d...

How to detect if a form input element of type file is empty

I have some code which reads a file through a form field of type file <input type="file" ... /> I want to give the user another option of providing a url to a file rather than having to upload it as many are already online. How can I detect when this field is empty on the server side. I am using Apache Commons FileUpload FileItemSt...

How can i achive file upload dialog box in android through java or xml layout.

Im new to android, developing a social networking application which requires user to upload images, but i dont know how to achive the file upload dialog box. How can we achive it,using java file or xml layout file? ...

In firefox we cannot write anything on textbox of fileupload control while in Internet explorer we can why?

i have used fileupload control in my webpage but it show different behavior in internet explorer and firefox different behavior means in IE i can write anything on textbox, while firefox doesnot allow to do so why ? and how we can maintain consistency in both. ...

ckeditor file browser

I've lost the link to free file browser which can be integrated with ckeditor. It has the number '4' and .NET in the title and it's written in PHP. Does anyone know the name of this program? ...

multiple file upload script not working in php

Hi im using java script to upload multiple images but some how its no working ...only the first file gets uploaded. javascript works standalone but when i integrate it with my existing code it doesnt. im refering the same php file after submit and then using if($_REQUEST['Submit']). i have tried fixing the number of elements it works......

c# uploading file - error

I have a webpage where the user can upload an excel file. I'm trying 2 different files - one works without a problem, and the other one gives me this error: Error: Length cannot be less than zero. Parameter name: length I know that sometimes this occurs when the file size is zero, but that is not the case here. Can anyon shed light on...

Uploading photo from my website, and send it via email.

Hello everybody, I have a form, which gathers some Information of my visitor, and when they submit the Information, it will send it to my desired email. now I need another input "file" that they can even attach their photo and send along with it to my email not on my server, I have no Idea how can I do that, I would appreciate any helps....

is it possible to continue a file upload after a browser has been quit?

If a user starts uploading a file (in a web app), and they close their browser before the upload completes, what happens? My guess would be that the upload gets abandoned, and the server has some garbage cleaning mechanism that kicks in eventually, but I'm not sure. Any difference between servers or server languages? Any difference bet...

Writing direct to disk with php

I would like to create an upload script that doesn't fall under the php upload limit. There might be an occasion where I need to upload a 2GB, or larger file and I don't want to have to change the whole server execution to above 32MB. Is there a way to write direct to disk from php? What method might you propose someone would use to...

Uploading a zip file to a jsp and extract the content in another jsp

I want to upload a zip file in a jsp page and the user is sent to another jsp page after he selects and uploads the file. In this second page I want to 1.)extract the uploaded zip file. 2.)read some content from the extracted file(s) and allow the user to change/edit them 3.)save the user changes in the files. 4.)zip the files aga...