ActionScript 2.0 :: Upload And Download Files From Server?
Aug 26, 2009Tell me the code for "how to upload and download" files from server using flash cs3/flash 8.0.
View 2 RepliesTell me the code for "how to upload and download" files from server using flash cs3/flash 8.0.
View 2 RepliesTell me the code for "how to upload and download" files from server using flash cs3/flash 8.0.
View 2 RepliesNeed to get the code for "how to upload and download" files from server using flash cs3/flash 8.0.
View 3 RepliesSome friends asked me to build them a site so their clients could use a private part of the site to upload and download files like in a FTP program (with user/password). I've searched the web, but only found a few uploaders that don't allow to also download and manage the files uploaded. I've noticed on my searches an extension called "yamzbrowser", but it is an old piece of software, and in a quick test I've found that it is not all browser compatible. In fact, I was not able to upload a simple file using the popular IE 7...
Is there any script, extension or toll that allow multiple users to upload / download, and manage (see, delete, rename) files inside a Flash page? Maybe a HTML solution that could be loaded inside a Flash page...
I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.
editCode sample taken from other post. Warning: it's a huuuge chunk o'code.
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"
[code]....
I am using a PHP upload to upload files to server. I have a loop for the 5 files to upload....
ActionScript Code:
if (PDFFiles[i] != false){
PDFFiles[i].upload(uploadPHP);
}
As the loop runs quicker than PHP can upload, the success of....
ActionScript Code:
function fileUploaded(e:DataEvent):void {
trace "Success"}
....can get out of synch. It doesn't cause me any real problems but is this bad form? Or am I better to upload one file the wait for the PHP to return success before uploading the next one?
How to upload and download a file from client machine to server.
View 1 RepliesI'm not so good a AS3 and i think i've made a mess of things. I am trying to write script to download from a server on a website and have been getting nowhere. [code]...
View 0 RepliesI need to upload a csv file from local directory to tomcat server using actionscript and Flex as frontend. The uploaded file should be queried which i have done in java using csv database driver.
View 3 RepliesIs it possible to upload files to a server, with flash only? I'm looking for a SWF file that's able to do this task.is it possible to upload a file with flash alone (no PHP or ASP)in case this is possible: is there a simple SWF-file to do this task which I could use?
View 1 Repliesi have some files swf files that i want to prevent downloading them.is there a solution that the IIS can have a passord for downloading the file swf file and i can provide this password in some situations on the server that i can pass this password in the code.so that the swf file can be viewed from my page only as provide the password.
View 3 RepliesI am designing a site for a photographer friend, which has no ftp experience or anything. i would like to just have a page where she can upload her photos to the webserver herself.
View 2 RepliesI created a preloader. When I test it in Flash CS4, it works fine. When I upload the swf files to my server, the preloader doesn't work. I put both swf files in the same folder.
View 1 RepliesDoes any one have a working fla. and php script to upload multiple files (with the specified max sizes, and file types) to a server? In addition, when there is an image being uploaded, it would be luxurious to have a thumbnail of the image being uploaded displayed.There is clearly not a simple issue. Scores of designers and developers encountered problems and headaches trying to upload multiple files with and image display (if an image is being uploaded). Even my web designer has a slight problem, although he tweaked some of the code to get a simple upload. Adobe needs to address this issue because it seems that sscores of designers and developers are having difficulty with uploading multitple files.
View 3 RepliesCan you use the FileReference.upload() function to upload files to Sharepoint or do I have to use the SP web services? This is without adding your own ASP.NET Web Services, just using the built in SP Web Services.
View 1 RepliesI am creating flash uploader and want to start 10 uploadings at time.But flash upload only 2 files on domain at time, other references wait for something.In IE with ActiveX Player limitation is about 6 files at time.Is there any ideas how to change this limitation? For uploading I need to use FileReference.upload without creating URLRequest object from file data.
View 1 RepliesI generate a HTML page with VB.Net which stores several pinks to files. These links are formatted with JavaScript looking like the Windows-Explorer with folders and files. The problem: There are only download links for the files, not for Folders. A folder can contain Subfolders ,a List of Files or a combination of both. So if I want to download a folder, I have to click manually on every file-link. I have not the possibility to insert PHP or another Server-side language. my question now is: Is there a client side way to Download them by click on a Folder? I prefer Javascript but If it isn't possible Flash will be ok also.
View 2 Repliesi seem to have a time delay problem that is stopping my flash site work properly through php with a mysql database.
here is basically how the site works so far. after entering some stuff in input text fields, clicking on "uploadNewData_mc" sends the new data to the database. this works ok and the database is immediately updated.
clicking on refresh_mc runs a function fillFields() which loads all the db information into my flash file. again, all the as3 and php is working perfectly here.
where i am having a problem is when i try to have one button that uploads all new data to the database and then runs the fillFields function and refreshes the flash file.
this seems easy enough but i am assuming that fillFields is being run before the new data has got to the db, as nothing of the new data is being sent back. here below is the as3 that i am using to upload.
summary: uploading to db works. downloading from the db works. uploading new data then downloading everything from the click of one button is not working.
ActionScript Code:
var djToData:URLRequest = new URLRequest("php/update_djTo.php");
djToData.method = URLRequestMethod.POST;3
[Code].....
I have been using this script for awhile now, and wanted to expand on it some.I understand most of what is going on here, but-where it sets font size and color for the controls? I need to make the Font size bigger in the boxes etc...[URL]
View 2 RepliesSince Flash 8 FileReference API was introduced, and file upload/download through Flash finally became possible. The API has one troubling limitation though, which is the 100mb limit for file transfer.
I'm developing a browser based file transfer utility, and I would have wanted to implement it with solely Flash. It has to have the ability to manage far larger files than 100mb. Does anyone know a way to overcome this limitation, or have another solution for file upload/download through Flash 8?
I am writing a script to upload and download images. I have a cancel btn that is giving me an error, undefined method.
ActionScript Code:
// First thing is to set the flashing upload message clip to invisible
uploadMsg.visible = false;
// Set the URL for the PHP uploader script
var URLrequestUp:URLRequest = new URLRequest;
var URLrequestdown:URLRequest = new URLRequest;
// Assign the image types Filter
[Code] .....
I've got a situation that involves error #2174. Flash 10 apparently doesn't allow more than one upload/download/load/save at a time, but my code doesn't actually do that. A skeleton:
ActionScript Code:
private function uploadFile(endpoint:String):void
{
[code].....
I can't find free version FCS distrib for Linux
View 3 Repliesi have used the following code to upload file which works in php4 server but dont work inphp 5 server.The flash code is as follows:
import flash.net.FileReference;
import gs.TransformManager;
//Allow this domain[code]....
i am uploading the php file.
I now have a Windows PC and I purchase Adobe Flash Media Server 3.5 software and install.I but server space on a managed server arrangement.I upload my pre recorded Flash clips to the server and my website and playlist to my host. Basically the website is channelled via http and the clips via RTMP. The key question that no one inside Adobe seems to be able to grasp (or answer) is ~ will it work if I stream my own clips?! or is it inferior to say that of a professional streaming company.The streaming companies charge anything from $125 to $250 a month, a big cost for someone like me, streaming around 1000mb a month. So does anyone out there have direct knowledge of this software and can you stream via rented server space without using a streaming company?
View 1 RepliesAs titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
View 1 RepliesI'm working on a cd presentation and I want to download some files from the cd.
View 3 RepliesCan't find a tutorial for upload files with asp...
View 3 RepliesRight now, if someone types in a popup window comes up asking if they want to download the file.I want my swf files (I'm building a site on the Gaia flash framework) to have access to all of my flv's/videos, but I don't want people to be able to download them.e Flash IDE to 'protect' your swfs (though I know there are ways around that) - but for flv's do those have to go in some type of special folder with a .htaccess file to protect them - and if so, how do I let my swf's communicate with the flv's and load them when necessary.
View 8 RepliesFree flash files.[URL]
View 3 Replies