file-upload

PHP upload permission problem

right guys ive ran into a problem with file permissions with the following upload form. a text file is passed to the upload/ dir by global users. mysite$ ls -l drwxrwxrwx 2 user user 4096 2010-09-24 13:07 upload but as I am not logged in as root, the new file uploaded to the domain saved itself in the upload/ dir with limiting permiss...

VBScript to Upload file to SharePoint DocLib

Hi All, I'm trying to automate the uploading of files to a SharePoint document library. I've run across countless posts (on this forum and others) but can't seem to get something that works. I'm not really a developer, though I have done some simple VBA and VB Script. What I'm looking for is a solution to automatically upload a file (....

Empty model when submitting asp.net mvc 2 form.

Hi! I gotta the following code in controller and view. The problem is that the model(Photo is an Entity Framework entity) is empty(all fields are nulled). Why? // GET: /Admin/Photo/Create public ActionResult Create() { return View(); } // // POST: /Admin/Photo/Create [HttpPost] public ActionResult...

Best/Fastest way to UPLOAD files

My users need to upload large amounts of files to a site (only HTTP access). Also, no matter how much I tell them to shoot the pictures in low resolutions they keep coming back with Massively sized images. Obviously, they complain that it takes them to long to upload all the files thru a simple HTML form - I'm planning on switching to SW...

Clearing the value of ASP.Net 2.0 File Upload Control using javascript that works on all browser?

We are running following javascript function: function btn_AddToList_Click() { var filePath = document.getElementById("FileUpload").value; if(filePath.length > 0) { var opt = new Option(filePath,filePath); var listBox = document.getElementById("ListBox"); listBox.options[listBox.options.length] = opt; } } ...

Sometimes my request comes in as HTML and other times as TEXT/*. Why?

I have an AJAX upload action for my Rails app. Sometimes it comes in as: Started POST "/products/temp_upload" for 63.148.78.244 at Fri Sep 24 21:34:27 +0000 2010 Processing by ProductsController#temp_upload as HTML And everything runs smoothly. Other times it comes in as: Started POST "/products/temp_upload" for 63.148.78.244 at ...

Getting Uploadify to work with asp.net-mvc

Hello, I am trying to get Uploadify to work with my site but I am getting a generic "HTTP Error" even before the file is sent to the server (I say this because Fiddler does not show any post request to my controller. I can browse correctly for the file to upload. The queue is correctly populated with the file to upload but when I hit o...

PHP Memory Limit

Hey all. Would anyone be able to give me a quick primer on how memory resources are used? I know I can up the PHP memory limit in PHP.ini as well as through lines of code such as: ini_set("memory_limit","24M"); I have an image upload script that I'm writing that is making use of a pretty cool PHP script called simpleImage which ...

Boosting performance of a PHP image upload/resize script

So I was on this mission to create a moderately flexible, but most importantly, re-usable handler PHP script for image uploading projects. As I cruised along I ran into a PHP memory limit question that I posted on stackoverflow (can be found here: http://stackoverflow.com/questions/3792058/php-memory-limit) and the awesome and helpful a...

Upload image with Jquery form plugin not working in IE8

I am using jQuery form plugin in my MVC project for image uploading. The image upload works perfect in Chrome and firefox, however when it comes to IE 8. Not like Chrome, instead of returning json data which is later consumed by post-submit callback, in IE 8 it returns a txt file and ask you whether you want to download. and in side th...

How to upload mutiple files by FTP task in SSIS

Hi, I like to upload multiple files, with different names, in a single FTP task to server in SSIS package. I am only able to upload one file. the file names are also different e.g xyz, zbc, ced is there any way to upload multiple file in a FTP task in SSIS. Thanks ...

Store and retrieve word documents with MySQL

Hi Fellas, I need to store and retrieve MS Word documents into MySQL 5.1 with Servlets. I've the code to upload a file, but I don't know can I feed into the table. I've used BLOB for the field I've to insert .doc files. Here's my code snippet to upload files: protected void doPost(HttpServletRequest request, HttpServletResponse respo...

get full path from file upload

hi.. when I'm using file upload control i just get only the file name but i want to get the full path of the file location.. how to get full path from the file upload control in asp.net? Thank you.. ...

Need to upload a single file across 2 load balanced servers.

Hey guys, Currently my company has a 3 server set-up. 2 web boxes behind a load-balancer and another box not behind the load-balancer (used for Admin, CMS and stats). Due to the state of funds at the moment we are looking to decommission our single box which is not behind the load-balancer. The box has our CMS on it and a media subdomai...

Import excel file with asp.net

Hi there, I'm working on an asp.net /c# app I need my app to allow users to upload .XLS files (located on the user machine). How can i read data from the .XLS file but without saving the file on server? tks ...

How to save uploaded pics in database?

Hi, in my new c#.net 3.5 ASP Website, user have the possibility to upload a picture. What solution is the best for saving this picture? Should I save it on my server in a folder and save the path in the database, or should I save the picture in the database? ...

OpenWriteCompletedEventArgs.Result Explanation?

http://msdn.microsoft.com/en-us/library/system.net.openwritecompletedeventargs.result(VS.95).aspx I'm writing a .NET app (Silverlight API) using the WebClient class. I'm simply wanting to get an XML-style result of a server script after uploading a file Async. I figured the Result stream inside of OpenWriteCompletedEventArgs would be w...

Uploading doc files

Does anyone know of examples of major sites that will allow uploading of docs files to there system, I am thinking of allowing this upload but I'm worried about the posibility of users uploading viruses. I'm worried that someone uploading a virus to the site could affect it's reputation. Should I just allow pdf's instead or have to hav...

Problems uploading huge files via browser

Hello. I developed an application with FLEX, Flash and PHP that it's so so a CMS for a customer. One of the functions that this application has it's to allow the exchange of files, uploading and downloading them from the application. What I noticed it's that the application wont let the upload of huge files, files over 10 MB are discta...

Execute script when upload via FTP

Hi, I was simply wondering if it was possible to execute a PHP script when the webmaster uploads a file (image in this case) in a certain folder from a FTP software? If yes, what methods would work best? Any link/resource/tip is glady appreciated. Thank you! ...