IDE :: File Uploading - Error 403 On MediaTemple Grid Server
Sep 15, 2009
I was using the script on the [URL] page to upload files and I get 403 on my mediatemple grid server. (It works fine on localhost). I tried adding the following to .htaccess:
SecFilterEngine Off
SecFilterScanPOST Off
But it gives me Internal Server Error - 500
View 1 Replies
Similar Posts:
Oct 1, 2009
I want to upload multiple files. For this I used FileReference and it works fine. I m able to upload the files properly.
When i upload a file i change its file name from "pic1.jpg" to something like "asdfwer.jpg"
Now i want to get this new name of a file - so for that i set cookie using setcookie() in php. But the problem is "Cookie is not being set" I dont get the reason for that.[code]...
View 0 Replies
Mar 1, 2010
Actionscript:
System.security.allowDomain("http://" + _root.tdomain + "/");
import flash.net.FileReferenceList;
[code].....
View 2 Replies
Aug 5, 2009
We are using influxis fms connect, we need to upload videos and audios using php script, i dont know what to do exactly with this fms connecti need the answer for the following query, so that i can get into it, How to upload audio or video files to rtmp server using php script, since my php scripts is in one server and the fms is in another rtmp server?
View 1 Replies
Apr 12, 2010
I did a bit of search without success to find if anything like this was answered before.Sorry for asking a silly question, I am a newbie and hence maybe missing something obvious.I used the Encoder to create the flv file and embedded the file in the timeline and the swf file plays the video just fine locally. For some reason, it's not playing after I uploaded it to the server. I did copy over all the files (swf)s) & flv). It's a very small video and I can't even see the video(just blank) while running the swf file after uploading the files on to the server. All other frames are working as expected.
View 1 Replies
Mar 22, 2010
Is there any way to have a function which connects to a server and uploads a local file without calling FileReference.browse?I have an application at a kiosk which is recording a short webcam movie of a guest. Once completed, I'd like for the video to be put on a server and a link send to the guest. I've got the link part working, but am not sure how to get the file up to the server automagically.
View 4 Replies
Jan 21, 2010
I imported a video in flash cs4 and media encoder did it's thing. I saved the file as a swf flash file and uploaded to server.
View 1 Replies
Dec 10, 2009
I'm using the FileReference class to upload flvs to a server. Is it possible to check the flv length not size before allowing an upload?
View 2 Replies
Jul 2, 2009
I want to upload my images to server,But i have no idea.pl share if u have any good sample.
View 1 Replies
Mar 30, 2011
I'm developing a drawing application in flash and I want that when a user has finished his drawing, he can upload the file to a server I found a code on the web that does what I need, but when I upload the image to the server, there open another window and I don't want it does that, I want that simply upload the file to the server without opening another window.
[Code]...
View 0 Replies
Apr 29, 2009
I have a nice, small animation in a header I've made for a website that looks very crisp and clean in flash, but when I upload it onto my website or preview it in a browser the framerate is lower than how I designed it.
View 7 Replies
Feb 3, 2011
I'm building an app that needs to upload multiple files to my server. Ask of these files are in one folder. I was told I carnot directly tell a fileReference which files to upload, they would have to be selected manually through browse ().
View 2 Replies
Jul 1, 2008
I am trying to upload an image on my server using Flash and PHP. The following code works fine on 1 server but doesn't work on other 2 servers where i have to implement it. Please check it and see where am i going wrong.
[Code]....
View 1 Replies
Jun 23, 2009
is it possible to upload an image from local computer to online flash application, but without actual uploading it to a server, just in memory. Need to load picture, make some manipulations, print it from flash and forget.thrashing the server with loads of photos is worst scenario.
View 5 Replies
May 19, 2011
I'm developing a drawing application in flash and I want that when a user has finished his drawing, he can upload the file to a server. I found a code on the web that does what I need, but when I upload the image to the server, there open another window and I don't want it does that, I want simply upload the file to the server without opening another window.
This is the AS code:
Code:
import com.adobe.images.JPGEncoder;
save_btn.addEventListener(MouseEvent.CLICK, guardarImg);
function guardarImg(e:MouseEvent):void
[Code].....
View 3 Replies
Aug 29, 2011
I have written a ac3 script to upload files to remote servers and it is working as expected with all the events.
From the server side script i am echoing some text according to the upload status and i want that status to be received in flash like response text in ajax.
Is it possible to receive response text from a server script after uploading a file.
Or it doesn't have to be a file upload yet i wanted to have the string echoed in the server side script as response text in flash.
If that is not possible like ajax or normal request and response then is there another ways of achieving that?
Here is the code which gets executed when upload is complete.
fr.addEventListener(Event.COMPLETE, function(e:Event): void
{
lblPer.text = 'Completed';
[Code].....
View 1 Replies
Nov 6, 2010
I want to upload data (not a local file) with Flex (4.1), and show what the progress is of the bytes sent. Now I use a URLLoader, but I know that URLLoader was designed to download data, I can connect a listener to ProgressEvent.PROGRESS but that has no effect. I also know there is a FileReference object which supports uploading. The problem here is, I do not want to browse for a file and upload it. I have a byte array which I want to send to the server, but the data property of FileReference is read-only. How can I send the byte array (which is actually a PNG encoded image) to the server and be able to track the progress of the bytes sent to server?
View 1 Replies
Jan 31, 2011
I'm trying to use uploadify to upload images to a remote server. I've have done everything I can think of for the cross scripting issue or whatever. Here is what i've done. scriptAccess to 'Always' in the uploadify function. I have a crossdomain.xml on my ww2 server with uploadify.swf in the root as well. I have uploaded my javascript jquery lib file to the remote ww2 server and put it in the header I put the jquery.uploadify.js and the swfobject.js in the root directory as well.
If I try to click the X to cancel a file I get the error: Error calling method on NPObject Or uploads don't work either. If anyone can help with this that would be great. If there are any other good flash based or non flash based multi uploaders that will do remote files with no issue please let me know.
View 2 Replies
Dec 8, 2011
Ive been trying to create this code for some time now and just wondered if someone out there who may read code better than me may work out why the image doesnt end up on my server as i seem to have brain freeze on this :(
var fileRef:FileReference = new FileReference();
fileRef.addEventListener(Event.SELECT, selectHandler);
fileRef.addEventListener(Event.COMPLETE, completeHandler);
[code]......
View 1 Replies
Jun 29, 2007
I have a big problem : My gallery ( with xml) was working perfect until yesterday . I uploaded my files to my server to test them. This morning I reopened the fla to make modif and big surprise : only the big image appears but no thumbs anymore in the scroller. I tried to trace the xml nodes but thay are now undefined. WHY? Everything is in the same folder.Nothing changed. I turned everything upside down but nothing. Does a uploading can affect some configuration ? Are the xml modified modified after being uploaded ?
View 3 Replies
Jul 27, 2010
I am new to AS3.0 and I am starting to create an application using flash. I always get an error:
TypeError: Error #1034: Type Coercion failed: cannot convert "uploader.php" to flash.net.URLRequest.
at ieditor_fla::MainTimeline/uploadCurrent()
View 3 Replies
Feb 7, 2011
I'd like to have Flex trigger the browser to download a PDF file from a server, but if anything goes wrong with the script that generates the file I want to be able to throw a meaningful error from Flex. Is it at all possible to try to open the URL in Flex first and check the response's HTTP status or Content-Type, then if it's a PDF file and not an error pass it up to the browser to display the "Save File..." dialog?
View 1 Replies
Feb 11, 2010
I created a website in Flash, published it, and uploaded the swf and html file to the server. When bringing up the website Flash doesn't play automatically. I first must right click and select play. When I was testing my flash site on another server, it worked great and played automatically. Is there something within flash that I need to modify or is this an issue with the server?
View 3 Replies
Dec 7, 2011
I'm trying to use Flash Media Server (on Amazon) to read in a video feed from a user's webcam, process it via my own executable, and return processed data (not video) to the user. For simplicity, let's say my executable finds the darkest pixel in the image and returns its coordinates, and I want the client to draw a cross at this location.
The client-side is working fine. It can send the video stream, and receive vertex data to draw. The server is half-working. It can accept connections, and send fake vertex data to the client. However I can't find any way to access the webcam stream.
Ideally, I would pass each frame from the stream into my executable for processing, with no saving to disk (or perhaps minimal saving to disk as a cache for P-frames). I've got the impression that this is impossible though, so another acceptable solution is to save the stream (live) to disk, and read it (live) from my executable.
Also, somewhat relatedly, I would like to secure the video feed as much as possible. Eventually I'll use SSL to secure it in transit, but for now I have the more serious problem of FMS sharing every stream it recieves. I'm sure there's an option to disable this somewhere, but I just can't find it.
View 10 Replies
Jun 13, 2011
I'm using Flex 4.5 in a Mobile air for android application. So, Using the Camera/Camera roll [URL]I want to do a simple upload using amfphp Note: Since this is how you get pictures on devices, i cant use the filreference because it wants you to get the pictures using "browse" which cant be done on android or ios My plan is, after I select a picture or capture one with the camera, in the event I can get the local url to the picture that was taken like this:
[URL]
I'm putting this in the imageURL var (i'm assuming i should make it into a byte array to transfer it, im not exactly sure this is my first time making something like this)Here's how i'm taking that image, making it into a byte array, and using amfphp to send the upload to the server:
protected function upload_btn_clickHandler(event:MouseEvent):void
{
var request:URLRequest = new URLRequest(imageURL);
var urlLoader:URLLoader = new URLLoader(request);
[code]....
But i'm getting an error NetConnection.Call.BadVersion.This is the first time im trying something like this so im not even really sure if im going about it right. All the examples I find online go about using the fileReference class, but that seems to require me to use the "browse" method, and im on a mobile application that uses the camera and camera roll to grab pictures off the device, and im not sure how to incorporate that into the fileref class. I figured i could just get the byte array and send it to php myself and it should be just fine.
View 1 Replies
Sep 2, 2011
I'm a C++ programmer, but I'm a newbie in Flex. I'm developing a Flex 3 application for a social network using the FlashDevelop. For debugging I'm using the stand-alone FlashPlayer (10.3 debug) downloaded from Adobe. The application is a simple audio player which shows artist/album images.
The application worked properly on both local computer and remote server until I made some layout changes in Main.mxml. I added some HBoxes and changed Image placement. After that the application still works on my local computer, but it doesn't work properly after I upload it to a server.
Application buttons are not highlighted on over/out/click events, images loaded from the Internet are not displayed, text changed dynamically is not displayed, but when I click buttons a sound file is loaded from the internet and starts playing. It looks like some events which are responsible for components displaying are not dispatched, because some part of functionality not related to displaying still works.
To make sure that this is not a server problem, I rolled back to the previous revision. All works fine.
I suppose that this is a known issue, but I have no idea what is the reason.
View 1 Replies
Aug 29, 2009
How can I turn on error reporting that tells me exactly on what line of my .asc file an error or warning has occurred? I need this in order to debug why my fmscore is constantly segfaulting, presumably caused by my .asc file. I know the .asc is causing the crash because when I removed a section of it, the crash suddenly stopped - but I can't figure out why it would crash at all, and it does so at unpredictable intervals, sometimes every few hours, sometimes every single time, ..
View 1 Replies
Oct 19, 2011
I have a SWF file - 220KBand the motions are simple too.whay the browser loading it so slow?!?(5-10 sec.)(i checked on 7 computers)
View 3 Replies
Jan 19, 2011
/Flex code/
private const UPLOAD_URL:String = "http://myhosting/upload/upload.php";
private var cer:FileFilter = new FileFilter("Archivos Cer", "*.cer");
private var key:FileFilter = new FileFilter("Archivos Key", "*.key");
private var fileref:FileReference = new FileReference();
private var fileref2:FileReference = new FileReference();
[Code]...
View 1 Replies
Jul 2, 2009
i am uploading file from pc its working perfectly fine on safari,firefox,IE,chrome and selecthandlers and completehandlers are working perfectly but on MAC files was uploaded i did't get response so that i can hide the loader bar i think complete handler not working perfectly or any other reason .....
View 3 Replies