upload

IFrame callback, server response not appearing on client

Hi - thanks for clicking. I am trying to get status feedback using an IFrame for file uploads. I am not trying to get progress or percentages - just when a file is done uploading and if it was a success or failure. THE PROBLEM is that I can't seem to get the server response to appear on the client. I have to following design: I ha...

"CSRF verification failed" when attempting to upload a file or create a folder with filebrowser for Django

I have installed filebrowser for Django (not filebrowser3) and when I try to upload a file I recieve the following error: 403 Forbidden CSRF verification failed. Request aborted. More information is available with DEBUG=True. The same error occurs when I try to create a new folder which shows that the problem is that ...

How to upload images to picasa web album as "Web address (URL)" ??

The Web album http://picasaweb.google.com has only the option to browse images from disk. What if I do not have images/photos on disk and I don't want to download image. If I know the URL of the image, can I avoid the round-trip of downloading and then uploading back to "Picasa web album" ?? ...

image upload ??????

hello all, i am having a mvc application.A web project and the language i am using is C#. i am having a update category form and in that there is a file upload control please tell me how will i do the update functionality because in the update controller we usually pass the collections object. please tell me what will I do..and How wi...

Perl CGI Hook is not working as expected.

Hi all, I have problems using the perl cgi hook. It seems that after I pressed the "send" button my perl script is not called instandly but after the file is uploaded completely. That might be because of a server setting. Was anyone faced with this problem before? Update: The reason was the pre installed: Apache Security Module Th...

How to change the width of an HTML upload field with CSS?

I can change the width of an upload field with the size attribute: <input type="file" size="20"> But CSS's width, which works fine for regular input fields and other forms controls, seems to have no effect here, even on Firefox: <input type="file" style="width: 20em"> Is there another way to accomplish this? ...

jQuery AJAX with remote HTML containing JS

I have a page setup that uses jQuery + AJAX to load content into an accordion frame. It works fine for loading straight text/HTML but I now need to load Javascript along with the HTML. To elaborate, I'm using GalleryView to display images in a photo gallery section of the accordion. When I load the HTML file, however, the scripts aren't...

Django upload_to outside of MEDIA_ROOT

My deployment script overwrites the media and source directories which means I have to move the uploads directory out of the media directory, and replace it after the upload has been extracted. How can I instruct django to upload to /uploads/ instead of /media/? So far I keep getting django Suspicious Operation errors! :( I suppose an...

Silverlight, Updating the UI during processing

Hi, I have a simple silverlight multifile upload application, and i want to provide the user with some feedback, right now its only in a test phase and i dont have the webservice. Somehow i cant get the ui to update: private void DoUpload() { foreach (UploadFile file in fileInfos) { int BUFFERSIZE = 1024;...

How do I upload an image as a File and display it as a Thumbnail with Tapestry 5?

Using the 3rd party tapestry-upload component, I can upload a File from the client on the server. Using the chenillekit's thumbnail component, a can make a thumbnail from an Asset. How can I convert my File into an Asset in order for the Thumbnail component to provide me the image thumbnail ? ...

PHP Memory Limit 25MB Exhausted - File Upload/Crop/Resize

I'm using a single image upload/crop/resize script for files up to 10MB. When testing, I set php_ini memory limit to 25M and that is exhausted when uploading a file only about 1.4MB. "Allowed memory size of 26214400 bytes exhausted (tried to allocate 10368 bytes)" This seems strange to me, isn't 10368 < 26214400? (Rhetorical Questi...

Why is the jquery multi upload plugin not uploading?

I am using the multi-upload plugin found at: http://www.fyneworks.com/jquery/multiple-file-upload/ This is what I am doing: These steps will reproduce the problem: Create a file input field, add 'multi-upload' as the class and 'images[]' as the name Use the input field to select an image and redirect to upload.php page via the action...

Limiting file upload type

Simple question. Is there a way to only allow txt files upon uploading? I've looked around and all I find is text/php, which allows PHP. $uploaded_type=="text/php ...

Upload file to server in Windows mobile C# project.

Hi All, We have a setup of server and windows mobile device as a client. In server CSI script ready to accept single file from client. In Desktop we have use WebClient.UploadFile method to upload file to server, but in windows mobile this isn't implemented, till now we haven't found any alternative method to achieve same. Thanks in...

Restrict time limit while uploading file + php

Hi, How to restrict a file upload time limit in php i.e I have to upload only video files which are of time 1 and 4 minutes if user upload more than 6 minutes only 4 min file will be uploaded on server. ...

Upload file suggested by microsoft doest work for me in CGI.

Hi all, we would like to upload a .zip file in windows mobile to .cgi script running at server. in desktop we have "Webclient.uploadfile" API, it does't support in winmo. do we have any alternative methods to upload file in windows mobile.. we tried a sample method suggested by Microsoft,but it doesnt work for our CGI script. please le...

jQuery Form Plugin + Ajax File Upload + Rails

I'm using the jQuery Form Plugin on a big ass form which includes some file fields. The back end is Ruby on Rails. I'm having trouble getting Rails to recognize the POST request type to be 'text/javascript' even though I believe I am setting it correctly. The form looks like: <form id="listing_form" method="POST" enctype="multipart/f...

Need Fully Qualified Path From 'Source' Computer

Hi. I am trying to get the full path from the client for files that are submitted for upload. I want something like: C://this/is/your/file.jpg But, when I try: m_File = Request.Files[i]; m_File.FileName I get "just" the file name. And, when I try: System.IO.Path.GetFileName(m_File.FileName) I get a path that seems to p...

Methods for Automatic User Uploads

Hello all, I realize that this question is slightly server related and could be posted on ServerFault, but I'm more asking about a programming-related way to handle this situation, so please forgive me if it seems a bit server-specific. We currently have a web-based app that is running on Apache/PHP on a Linux server. We use PostgreSQL...

php transfer variable to other page

Hi All: PHP : I am trying to upload a file using php,and i need to pass a value like id or some thing with the from the upload form page to the file that have php code plz look at this code: <form name = "file" enctype="multipart/form-data" action="uploadpp.php" method="POST"> Please choose a file: <input name="uploaded" type="file" />...