upload

How to find PHPs tmp folder relative to script running?

Hello all, Is it possible to find PHP tmp folder at run time? I am uploading files and I am making use of: $_FILES['upfile']['tmp_name'] However, one of the APIs I am making use of requires that I have to give the full file path of the uploaded file relative to my script! A bit annoying but it has to be done. Any ideas on how I can...

Good Image Resizing Framework

Hi, I'm currently resizing images in PHP, and my current code takes about 2-2.2 seconds (not including upload time) to resize an image to two sizes, one thumbnail size, and one medium-sized. Can anyone recommend a framework or class that I could download that would resize the images quickly? Thanks. ...

Big files uploading (WebException: The connection was closed unexpectedly)

UPDATED See post #3 below. There is a need to upload a file to the web automatically (without browser). Host - Mini File Host v1.2 (if this does matter). Didn't find specific api in documentation, so at first i sniffed browser requests in Firebug as follows : Params : do Value : verify POST /upload.php?do=verify HTTP/1.1 Host: webfile...

Upload file to SharePoint WSS 3.0 with WebRequest PUT

Hey, I've got this nice little piece of code, much like all the other versions of this method of upload using WSS WebServices. I've got one major problem though - once I have uploaded a file into my doc list, and updated the list item to write a comment/description, the file is stuck there. What I mean is that this method will not overwr...

File Upload and Unit Testing with Zend Framework

How can one best test a controller action which receives a file upload using Zend_Test_PHPUnit_ControllerTestCase? Ideally, $this->getRequest()->setPost() would take a filename in the data array, but this does not seem to be supported. I would be willing at this stage to bootstrap/run my application on the command line and create a req...

How do I Get Height & Width from an Uploaded image file

I am using ASP.NET 2.0. I am trying to get the height & width of an image file I uploaded using the FileUpload control. Once uploaded, the image is kept in the db, not the file system. It seems I should be able to use something like the following code to do this but I can't get it to work. Dim strm As Stream = oPostedFile.InputStream d...

Google Gears upload: strange error

Hi guys, I've got this very strange error and I don't know how to deal with it. My setup is a page in which I can select one image file, (gears beta.desktop) and then it should upload. But it doesn't upload, and gives a very strange error which I can't get away. below is my code: var filesToUpload = null; function progressEvent(eve...

Uploading Video with iPhone

Is it possible to upload video to a server? I know that images are possible. If someone can just point me in the right direction that would be awesome. Thanks ...

Cant upload sound files in visualstudios server

Whenever i try to upload a sound file i get the error "The connection to the server was reset while the page was loading.". The sound file is 5.58mb, an .OGG. My server is visual studios 9 (2008). The form uses enctype="multipart/form-data". I have a feeling it may be a filesize limit but i dont know where to change the file length allow...

ajaxFileUpload & document.domain

Hi, Does anyone know why ajaxFileUpload callback (succes) is not working on a page which use document.domain ? I'm using document.domain in order to proceed to main/sub domain AJAX request. UPDATE iframe on main domain : <iframe style="display:none;" src="sub.main.com" width="0" height="0"></iframe> <div id="stuff"></div> <script ...

how to upload videos to youtube from asp.net,C# application

Possible Duplicate: Youtube API integration ASP.net - upload video with a single page how to upload videos to youtube from asp.net,C# application (using youtube APi) ...

Save a WAV file to disk

This is a web service call which I wrote that is intended to receive a WAV file via a POST and store it in the web-app server's local file system (IIS). Is there a simple method to store the file and if so would someone be so kind as to provide a C# example? ...

how to create a "Uploading! Pls wait..." msg for uploading excel file and load to SQL Server?

Currently, i have a working function that will let user to upload an excel file and thn insert the excel file data into the SQL Server. So, they might be thousand of records in an excel file, i would like to have a message like "Please wait while uploading..." during the process! i have tried on the update progress and javascript but bot...

Upload file to webservice (java)

I am looking for a solution to upload a file from a client to a server connected through a web service. The client is written in c# and the web Service in java. The files can be rather large < 100MB. What approach would you suggest is best ? ...

Storing uploaded images on Google App Engine with Java

I am looking at writing a Java web application on Google App Engine. I want to be able to upload and serve images from the app but just realised that the Datastore have a 1MB limit. This is slightly too little for decent pictures. Is there an alternative way you can suggest of doing this? Perhaps storing those as static content rather th...

IE8 CSS Bug? Not displaying DIV correctly with javascript

This video explains the problem best: http://www.screencast-o-matic.com/watch/cQ1Oc9f1L Basically the directory is located here: http://www.ipalaces.org/uploaderprogress/grrrrrr.html Is the problem piece using YUI.js as the uploading script. The YUI updates the table's row with new information on every event. So I have it update it wit...

Upload a potentially huge textfile to a plain WSGI-server in Python

I need to upload a potentially huge plain-text file to a very simple wsgi-app without eating up all available memory on the server. How do I accomplish that? I want to use standard python modules and avoid third-party modules if possible. ...

PHP : How can I read an .XLS file's contents without saving it to the server?

I am working on a database program using PHP to keep track of the products we manage at my workplace. For this project, I need to be able to select an .XLS file which contains new product data. New data consists of the following fields: Type CHAR(3), Line CHAR(2), Number INT, Measure INT, Comments VARCHAR(255), Variation...

sharepoint file upload

I can upload a 250MB file to sharepoint 2007 but nothing larger. I have changed the two webconfig file, set the admin site to 2047MB and it still fails. Please help this was to be completed asap. thanx ...

Multiple Uploads to Amazon S3 from Ruby on Rails - What Background Processing System to Use?

I'm developing a Ruby on Rails application that needs to allow the user to simultaneously upload 16 high-quality images at once. This often means somewhere around 10-20 megabytes (sometimes more), but it's the number of connections that are becoming the most pertinent issue. The images are being sent to Amazon S3 from Paperclip, which ...