upload

How does one chunk files using actionscript (flex)?

I am doing file transfers, but the filereference API doesn't support file chunking. Has anyone done this before? For example, I would like to be able to upload a 1 gig file from an AIR client to a custom PHP/Java/etc. service. ...

Uploading photos - How can I keep our website safe/stable

My website would like users to upload their photos...but how do I keep our server safe from harm? Allowing only JPGs should avoid virus trouble, but what if someone selects a 10Gb file - will that slow the whole website down? We're using Classic ASP and IIS6 (sorry, but that's how it is, can't change that!). Previously we have used a DL...

.mp3 Filetype Upload

I'm working on a PHP upload script which allows .mp3 file uploads amongst others. I've created an array which specifies permitted filetypes, including mp3s, and set a maximum upload limit of 500MB: // define a constant for the maximum upload size define ('MAX_FILE_SIZE', 5120000); // create an array of permitted MIME types $permitted =...

How to upload a file in C/C++ using HTTP with libcurl?

I would like to upload a fiel (a picture in my case) in C/C++ using HTTP with libcurl. It will be great to have a working sample in C/C++ with (optional) the php code for the server side. ...

accessing the upload file in progress using django + nginx + apache mod_wsgi

I know that when we upload to a web application which use django, we couldn't access the upload file before it completely receive by the server. So my question, is there any way to check/access the total byte of upload file in progress? thanks ...

PHP Uploading Files

I'm having a problem uploading files in PHP. When I submit, $_FILES[] is empty. I feel like this is such a n00b question :/ My form: <form method="post" action="uploadfile.php"> <input type="hidden" name="MAX_FILE_SIZE" value="300000" /> Image: <input name="ImageFile" type="file" /><br /> <input type="submit" value="Add Image" /><b...

Simple PHP form: Attachment to email (code golf)

Imagine a user that would like to put a form on their website that would allow a website visitor to upload a file and a simple message, which will immediately be emailed (ie, the file is not stored on the server, or if it is then only temporarily) as a file attachment with the note in the message body. What is the simplest way to accomp...

Provide feedback to view from controller in ruby on rails

I am using multiple file field in a view to upload multiple files. I would like to update the user of progress while uploading. I tried using something like this def create params[:upload_data].each do |file| unless (file =="" or file== nil) @photo = Photo.create({:approved => false, :user_id => @current_user.id}) ...

How do i secure a web server's image upload directory ?

For my web application, people can upload images from a web form to my web server. What should I set the CHMOD settings for that image upload directory so that people can upload images (from the web server) to that directory but not execute any files they upload for security reasons. Would the chmod settings be? : chmod 744 directory/...

SharePoint - Posting and Retrieving files Automatically via VBScript

Hello All, I'm going to need to push and pull files from a SharePoint site that is not hosted by my company (it is external). I'm only going to get a few days (if that) to get this working so I don't have much time to experiment. To add to my requirements/headaches, I'm going to have to implement this with VBScript. .Net would be pref...

What is the best plugin to handle multiple file uploads in Rails?

Lets say I have a model called Recipe. Each Recipe has several photos, a PDF file and a video. Is there a plugin out there that lets me have something as simple as Recipe.photos, Recipe.photos.first.filename, Recipe.pdf.filename, Recipe.video.filesize and so on? ...

ASP.NET MVC and AjaxFileUpload

Ok, this is driving me nuts. I have been trying to figure this out forever now. I want to to perform an async upload using ajaxFileUpload. I have it posting the file to my controller just fine, however, when i try to return a JsonResult from it, I get a "Save File As" dialog box. I have tried everything to get around this and i either ge...

upload to ftp asp.net

Hi, Is it possible to upload a file directly into an ftp account folder with ASP.NET ? E.g. I click on browse, select a file to upload and when I click "upload" button, It should save it directly to the folder on another web server located at somewhere else other then the server that is being used to upload. ...

Google App Engine Large File Upload

I am trying to upload data to Google App Engine (using GWT). I am using the FileUploader widget and the servlet uses an InputStream to read the data and insert directly to the datastore. Running it locally, I can upload large files successfully, but when I deploy it to GAE, I am limited by the 30 second request time. Is there any way aro...

Send photo to email bot, upload photo to website

Hi all, I am constantly taking the following steps, and I know there's a way to automate this: emailing photos from my phone to myself saving those photos to my computer uploading the saved photos to a website Is there a way to write a script (perhaps in PHP), that does the following: listens to any emails sent with attachments to...

Atomic, asynchronous HTTP file POST with sensible feedback?

Hello! I've just started development on Macs and have found Cocoa to be a useful and thoughtful framework, but its HTTP functionality has me puzzled. I have an NSURLConnection object to download a file from my webserver using the HTTP GET method. NSURLConnect's asynchronous connection is great, I get plenty of feedback, I get each chun...

How do I upload pickled data to django FileField?

I would like to store large dataset generated in Python in a Django model. My idea was to pickle the data to a string and upload it to FileField of my model. My django model is: #models.py from django.db import models class Data(models.Model): label = models.CharField(max_length=30) file = models.FileField(upload_to="data") I...

Is it possible to check in a file or add a file to an SVN repository without an SVN client?

Is it possible to check in a file or add a file to an SVN repository without an SVN client? Using a browser, I was able to access the files on an SVN server using Apache. If I don't have an SVN client on a certain computer, can I add the file (and commit it), such as by the browser's "Upload File" function? Being able to do so could b...

Upload Progress Bar in PHP

Does anyone know how to get a progress bar for an upload in php? I am trying writing code for a photo album uploader. I would like a progress bar to display while the photos are uploading. I am fairly new to php so I dont know everything about it. ...

follow up email response to app rejection - iphone

Was wondering what is the correct protocal for responding to an app rejection follow up through email. I've included my response with my argument that states their "reasons" for rejection are wrong via email. I also made sure that i made the necessary changes to the app, to 1) ensure there are no more bugs and 2)make sure it's 3.0 compl...