upload

HTML file input field with limited file types?

If I have an HTML file input field, is there any way that I can limit it to only allow image uploads? I'm sure this would be possible with Flash or Java, but I'm trying to stay away from them for the time being. I found the "accept" attribute online, but it doesn't seem to be doing anything for me (or I'm using it wrong.). Any help or...

Sharepoint - Multiple document upload - HTTP 'post' verb not allowed

When attempting to upload any number of documents, including very small files, seems to succeed- but subsequently redirects to an error page indicating the following: /_layouts/error.aspx?ErrorText=The%20HTTP%20verb%20POST%20used%20to%20access%20path%20%27%2F%5Fvti%5Fbin%2Fshtml%2Edll%2FSiteCollectionDocuments%2FForms%2FUpload%2Easpx%27...

ASP.NET Image Upload Architecture

What would be the best method to implement the following scenario: The web site calls for a image gallery that has both private and public images to be stored. I've heard that you can either store them in a file hierarchy or a database. In a file hierarchy setup how would prevent direct access to the image. In a database setup access to ...

File upload permission problem IIS 7

I am unable to upload files to website hosted under IIS7. I have already given write permissions to "IUSR_websitename" and set the property in web.config also. I am able to upload files with out log in to application at the time of user registration. But once log in to application, if I upload files, it is giving "Access denied" error....

File upload iis7

Hi, I have a website and my users can browse the website for general information. If user wants to post any data, they need to register in the website. At the time of registration (in registration form) they can upload their photo. Once registration process is completed they can even modify the previously uploaded photo. My users are f...

Howto: Drupal File Upload Form

I'm having difficulty figuring out how to write a module with a form that uploads files, in Drupal 6. Can anyone explain this, or point me to a good example/documentation discussing it? EDIT: Here is entirely what I am trying to do: User uploads a .csv Module reads the first line of the file to get fields User matches csv fields with...

Flash Security Sandbox: crossDomain.xml not working

Hey guys, I have written a simple upload component in Flash, but I am now having issues in uploading due to a Security Sandbox error. I now know this is due to the fact I am uploading from one domain, to another, but 1, this used to work, 2, i have implemented a cross domain xml file by placing it in the root of the domain I'm serving f...

What is the best way to allow users to email images audio or video to our website?

Does anyone have any experience developing a way to allow users to upload photographs (and possibly video) to a website to be stored in a database from mobile devices? We will be running our system on a UNIX platform and most of the system logic is written in PHP and data is stored in a MySQL database. Members will be given an email ad...

Upload File to FTP Server on iPhone

Hello, I would like to implement logic that uploads file to FTP Server. I am new in iPhone development, so want to figure out preferred approach. After browsing available API for this task I have managed to find only code that uses CFNetwork (that looks like not Objective C based). There is also URL Loading System that uses NSURL etc ...

Export GridView to TXT, then upload file to server

Basically what I want to do is export an array (or GridView) to a file called "getpathin.dat". That is easy, but the method I am using downloads the file to my computer, which is what I don't want. I want to write an array to either a PRE-EXISTING file that is on the server OR create a new file on the server in a folder, and this new fi...

Get info after fileReference upload?

Normally when I send information to PHP scripts via URLLoader, I have the PHP return various success codes so I can have my Flash files respond according to whatever success code the PHP returns (0 is a failure, 1 a success, 2 is some other error code, etc.). Now I'm trying to submit a form with a bunch of data in it (name, email, birth...

How do I change image upload path *dynamically* in FCKeditor

I'm using the ASP.NET binary for my FCKeditor, and needs to insert two editors on the same page. The uploaded images/browsing needs to go to two different directories, how do I do this from code-behind? I know the path for uploaded files are set in the config.ascx-file with the UserFilesPath setting, but I can not find a way to override...

How do I "kick-start" a jcl stream on the mainframe using FTP inside vb.net 2008

The following is the code that uploades a bytearray into a file DSN on our mainframe. It works very well. What I want to do is upload the jcl which should then start to execute. That's the part I am stuck on. I used to be able to do it through WININET, but I want to get away from that and use the better FTP commands in vb.net Pub...

What URL is the XtraUpload script posting to?

I am using the XtraUpload script from http://xtrafile.com. Their forum support is very poor, and I need to write a PHP function to post to remotely post to my XtraUpload website at http://uber-upload.com. So, I ask, ok, I beg for help. Can someone please tell me what the post URL is, and what variables are being sent (i need exact nam...

Image upload works sporadically.

This is a very open question about a problem that we have. Basically, we have an image upload function on our site, built on Zend PHP that works great and smoothly almost all the time. Yet the logs show continuously that the entire framework crashes pretty much all the time and the image upload fails and I don't have the slightest idea ...

uploadprogress_get_info and m4v files

Hi all, I'm having trouble getting uploadprogress_get_info and m4v files to play nicely together. Has anyone else had the same trouble? UPLOAD_IDENTIFIER is being sent with the file, it's just this one file type where it doesn't work. Any ideas where I can begin to start debugging? ...

move_uploaded_file help

<?php if (count($_POST)) { $userfile = $_FILES['userfile']['name']; $file_size = $_FILES['userfile']['size']; $file_temp = $_FILES['userfile']['tmp_name']; $path = 'uploads/'; $randomizer = rand(0000, 9999); $file_name = $randomizer.$userfile; if($file_size > 25600) { echo 'FILE SIZE TO LARGE<BR />'; exit(); }...

AJAX upload in Python (WSGI) without Flash/Silverlight, with progress bar

I am looking for a pure Javascript/Python upload example, that uses server polling instead of client-side SWF to display upload progress (like the one on rapidshare.com for example) Currently, website is running on the standalone wsgi server included with Werkzeug framework, but may be moved to mod_wsgi if the load increases. I've trie...

upload SLD file to geoserver

Hi all, i want to upload SLD file to geoserver by REST. I use geoserver version 1.7.6 in Ubuntu. I have upload file: names:chool_point.sld using Poster. url:http://localhost:8080/geoserver/rest/styles?name=school%5Fpoint content-type:application/vnd.ogc.sld+xml method:Post this is my sld content: xsi:schemaLocation="htt...

Fck Editor upload images

I have a problem with images in FCK editor. when i try to upload images it gives me Connector disabled error and the images are not showing in the editor page. i am programming with visual studio 2008. please help ...