upload

Android connecting to Twitter

I'm learning Android and I'm trying to connect to Twitter and upload a photo in Android. How can I do this? ...

upload and crop image before sending it to the server

is there some client components (jquery/swf) that will give the possibility to upload and crop (user should be able to select the area to crop) an image in the browser and then send the cropped image to the server I'm on asp.net-mvc (not sure if it matters) ...

php upload image with ftp problem

Hi, I am using the code below to upload an image through ftp $sFile=$ftp_dir."/".$image_name; $image=$database_row["image"];//image is store in database $fh = tmpfile(); $fwrite($fh, $image); $uploadFile = ftp_fput($conn_id, $sFile, $fh, FTP_ASCII); fclose($fh); The ftp is creating the file and has a size BUT the file i get is n...

Django Image Upload: IOErrno2 Could not find path -- and yet it's saving the image there anyway?

I have an issue where the local version of django is handling image upload as expected but my server is not. Note: I am using a Django Container on MediaTemple.net (grid server) Here is my code. def view_settings(request): <snip> if request.POST: success_msgs = () mForm = MainProfileForm(request.POST, request.FILES, instan...

How to create CommonsMultipartFile object given only a file.

I have a junit test method that takes a CommonsMultipartFile object as a parameter. I'm trying to create a FileItem object so I can pass it to the constructor, CommonsMultipartFile(org.apache.commons.fileupload.FileItem fileItem) To do that, I'm trying to create the FileItem object using the DiskFileItem constructor, DiskFileItem(ja...

Upload file via HTTP from VBA (WinHTTP)

Hi all, I'm trying to (HTTP) upload a binary file programmatically from within VBA. I intend to put an ASPX page on the server to accept the file and certain additional parameters. I know there are lots of nice ways to do that (e.g. use web service instead of aspx), but my constraint is that it must run in VBA (in an excel file), and t...

Uploading Multiple Files in ASP.NET 2.0 using Ajax Uploader

I m using CuteWebUI.AjaxUploader.dll and i want to upload multiple files in Filesystem like c:\foldername at single click.how can i do this. Control i m Using:- ...

PHP Upload file enhance security

Hey.. my question is how to prevent someone upload a virus or some malicious code with the extension you pretend for example i have a pdf file uploader, anyone can upload a binary with pdf camouflage there are lots of programs to do that. ...

Ajax file upload

I want to upload a file using Ajax and php. I have a form with file inclusion tag. I want when user will browse a file and click on submit then file should be uploaded without refresh. How will i do this ?It does't matter if refresh occur but i want to upload file with help of ajax. ...

some files not opening properly on hosting server awardspace

Hi, I've uploaded files for my website from my home test server to my hosting account on awardspace. It is weird that some pictures work when directlinking but others don't and I don't get why It are jpg files, and it's in a particular folder /images and even weirder is that with some jpg files in that folder direct linking works, but w...

Increasing Max Upload File Size on IIS7/Win7 Pro

I'm setting up a server for a client (something I don't typically do), and I'm running into issues with uploading larger files (11MB). The server is running Windows 7 Professional with IIS added. In web.config I've tried setting <system.web> <httpRuntime maxRequestLength="65536" /> <!-- 64MB --> </system.web> ... and that doesn't...

Drupal 6 Imagefield and some sort of jquery callback when the field has uploaded

Hi all, I'm totally stuck trying to find a way of moving the imagefield preview of a Drupal 6 cck form to another div on the page. The desired process using a cck form and some javascript: click browse, click upload, imagefield widget uploads the file then creates a an image preview. Once this is done I need to triger a javascript func...

Multiple file upload with preview

Hi, Is there any good control or plug-in for uploading multiple photos with preview? As far as I understand it is impossible to preview photo on local computer using just JavaScript. So it has to use Flash or Java. Thanks, also, I use ASP.NET. ...

How to upload file via the JSON interface in Rails

Hi, I have a web service in Rails which among all else should provide file upload functionality to the clients. The clients all use JSON to talk to the webservice. I use the Paperclip plugin for upload management. The problem is I do not know how to upload a file via JSON. All works in the web formular, but I cannot find information on...

Determine the real type of file vb.net

I have a asp.net vb.net app, with a upload file control, when i upload the file i can get the type of file the extension : .(extension), But if the user change the extension how i can get the real type of file? Any ideas?? ...

File Upload in GXT discriminates against certain file types

We are using GXT (EXT + GWT) and Apache commons file upload servlet utility. We have file uploads working but certain types are not uploaded, e.g., text files. Even if the text files have their extension changed they are still not uploaded. In the FileUploadBase.parseRequest method this is the code that seems to be found to skip the...

Does Amazon S3's HTTP Uploads feature support web-hook style callbacks?

When uploading files to Amazon S3 using the browser http upload feature, I know I can specify a success_action_redirect field/value that will tell my browser where to go when the upload is done. I'm wondering: is it possible to ask Amazon to make a web hook style POST request to my web server whenever a file gets uploaded? Basicall...

Can I upload photos to a wall belonging to a fan (company) page wall using the Facebook Graph API?

Hi there, I need to know if it's possible to make it so authorized users can upload photos to a fan page of a company (to the wall) using the graph API. Also, is it possible to become like (become a fan) of a company page through the api once the user is authorized. Many thanks in advance, Mark. ...

A Python Wrapper for Shutterfly. Uploading an Image

I'm working on a Django app in which I want to order prints through Shutterfly's Open API: http://www.shutterfly.com/documentation/start.sfly So far I've been able to build the appropriate POSTs and GETs using the modules and suggested code snippets including httplib, httplib2, urllib, urllib2, mimetype, etc. But I'm stuck on the im...

PHP File Upload, using the FILES superglobal array

Hello everybody, I just have a quick question. Let's say that I'm setting up an upload feature for a project. I'm using PHP5, and I was wondering if by using the $_FILES superglobal array, I could have access to the "tmp_name" array key , which is the temporary path and name of the file being uploaded to display a preview of the image,...