Flex :: File Upload With Adobe Air?

Mar 7, 2012

I'm trying to upload a file with Flex to Minus.com

The API Reference explain the upload with this example:

POST /api/v2/folders/0FQHJakL/files?bearer_token=[token] HTTP/1.1 Host: minus.com Content-Type: multipart/form-data;
boundary=----WebKitFormBoundaryxECY8varBqIXZW4f Accept-Charset:
UTF-8,*;q=0.5

[Code]....

View 1 Replies


Similar Posts:


Flex :: File Size Limit For Upload In Adobe Air?

Jun 22, 2010

I am building an Adobe AIR app and integrated an FTP client for file transfers. But I found out that maximum file upload size is 100 MB. I need to transfer bigger files

View 1 Replies

ActionScript 3.0 :: Upload Image File In Adobe Flash Builder 4?

Mar 23, 2011

We are trying to create a label maker. We have most of the functionally done but can't figure out how let a user upload a file.

View 0 Replies

Flex :: Adobe Air Upload Progress Without FileReference?

Apr 5, 2010

I'm deploying a small application with Adobe Air. My application will do batch upload from filepath which stored in a text file. For example, in a text file name "list.txt", there is a string "C:myfilesIMG_0001.JPG". Now I want to upload this image file, keep tracking of upload progress :-< I want to use FileReference to get the upload progress, but I don't know how to import from file's path. I also wonder how to use FileReference to upload this file without prompting a dialog for user to select file.

View 1 Replies

Flex :: Upload - Adobe Flex Mobile Selecting Image From Camera Roll Or Taking Picture Restarts The Application

Jan 19, 2012

I have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.

[Code]...

View 1 Replies

ActionScript 2.0 :: File Upload - OnComplete Fired Without Any File In The Upload Dir?

Aug 31, 2010

my listener.onComplete = function(selectedFile:FileReference) is fired without any file in the upload dir. if the file is small and I wait a bit I can see the file (through FTP) coming up on the server, but most of the times the "onComplete" if fired without any file being saved.

can I add something to this php code to make sure the file is uploaded?

[Code]...

View 1 Replies

Flex :: How To Upload CSV File

Dec 12, 2009

i want to uplod csv file in to java from flex screen ? How can i do that ?

View 2 Replies

Php :: Use Flex To Upload A Swf File?

Feb 2, 2011

I am trying to upload files to my server using a flex program but the swf files are not being uploaded. So I tried to upload other file types such as png, jpg, txt, xml and all of these upload without a problem but swf will not upload.

MXML File:
<?xml version="1.0" encoding="utf-8"?>
d {

[code].....

View 1 Replies

Asynchronous File Upload In Flex?

Mar 22, 2010

sample for asynchronous file upload using flex filereference object

View 1 Replies

PHP :: Best Way To Upload Image File By Using Flex?

Jun 26, 2010

Any best way to upload the image file by using Flex 4 and PHP. I have searched online but most of them are using Flex 2 or older version. I am just curious if there are any new ways to do it. I just found a good one here... [URL]

View 1 Replies

Flex :: Upload File To Server In A Particular Path?

Oct 30, 2009

In Flex i want to upload a particular file to server form local system.how to do it?

View 2 Replies

Flex :: Upload Csv File To Java Class

Nov 17, 2009

How can i upload csv file to java class in flex ?

View 1 Replies

Flex :: FDisplaying Progressbar For File Upload

Feb 16, 2010

I need to create an application where I can add files for upload. As I add items for upload, a progressbar should be displayed along with each item added. And when I click for file upload, the progress of file upload for each file should be reflected in the progress bar. The progress should use the function like.[code]

View 3 Replies

ActionScript 3 :: File Upload From FLEX To ASPX .NET?

Jul 12, 2010

I would like to know how to upload a file from ActionScript 3 (From a FLEX Application) to a Dot Net Back End, maybe to an ASHX file, an ASPX file or similar and using C# as core backend language.

View 1 Replies

Flex :: File Upload With Attachment_fu In Rails?

Aug 20, 2010

My file upload is working fine on IE. But it's returning "406 not acceptable" error on firefox.

View 1 Replies

Flex :: Upload File Larger Than 100MB?

Jan 31, 2011

I want to upload larger than 100 MB local file and then send it to remove Java server.

I got these possible alternatives:

Use FileReference Flex class, which is not recommended for files larger than 100Mb, and hope that the application will not crash. Slice the given file to small parts, then send them. For me, this seems pretty harsh decision.

The question: Are there some Flex library which allows sending larger files than 100Mb?

If the answer is NOT, are there some 3rd party libraries for the same thing?

If not, are there some 3rd party libraries for 'slicing' files and sending them asynchronously to server?

EDIT: If I sliced the file to parts, how large they are supposed to be (for proper hash check)?

View 3 Replies

Flex :: File Upload Not Working - IOError

Mar 8, 2011

I have now ran into Flex Fileupload problem on ssl as many others have. I simply get an IOError, no other information as to what caused the error was given, ssl handshake or something else. How do I nail down the cause of the error? I tried using the ';jsessionid=' trick, still no luck. FYI, I am running on local https server, with self signed cert. Everthing works fine without ssl. With ssl, it only works on IE (FF, Chrome, Safari fails on https). With other browsers, server doesn't even get the request.

View 1 Replies

Flex :: File Upload - 4 FileReference With Firefox

May 11, 2011

I'm trying to perform a file upload using a FileReference from a Flex app running in Firefox 4. However when I attempt to call the upload() method, the Filereference throws an IOError with the following Error #2038: File I/O Error. URL: [URL] If I don't explicitly add a listener for the IOErrorEvent, then I get a Flash player popup stating SecurityError: Error #2000: No active security context.

The request doens't even hit my server (I can verify by placing breakpoints in the Java code and watching the HTTP Requests that go out using HTTPFox), so it seems to me that this is a client side issue (right?). I've done some searching for the problem on google and the suggestions included wrapping the upload() call in a timeout/callLater, and attempting to attach the sessionId to the request (since Firefox creates a new thread for the upload and doesn't attach the proper cookies). Neither of these approaches has worked for me. I don't experience this problem with Internet Explorer, only Firefox.

[Code]...

View 1 Replies

Php :: Flex File Upload To Remote Server Using PHP

Oct 10, 2011

I am trying to upload the files to the remote server using PHP with Flex interface. If it's not localhost, it shows the security error. I have already put the crossdomain.xml in the tomcat web app root directory to allow all the domains. However, the security error is still shown when I tried to upload the file.

View 1 Replies

Asp.net :: File Upload In Flex When IIS Is Set To 'integrated Windows Authentication'

Dec 8, 2009

I have a flex app that allows the user to upload a file.The flex side uses the FileReference.upload method that goes to an .aspx page that handles the upload. It works only intermittently when I have IIS set to integrated windows authentication.That said, for testing purposes,I wrote a separate aspx page that does a file upload and this always works.I'd like to leverage the file import,though, within the nice looking flex app and not kick off a new webpage for a file upload.In looking at the IIS logs I have a hypothesis as to what's happening, and want to know if someone has full understanding as to why it may only intermittently work and can confirm or deny this: Flex' FileReference upload guts does whatever it does on the client then initiates a POST request to my .aspx page.On the times it failes, the IIS logs state that IE didn't pass the credentials so denies the request then sends a 401 response.

I don't get this 401 response on the flex side even though I'm listening for HTTP status codes (flash bug?).A new request is somehow immediately made to perform the upload again (it's not my code). I'm inferring this by looking at the IIS lgos which shows a second POST right after the previous one, only this time the user credentials are sent through, but the kicker is that the file the user uploaded is not uploaded this time. I infer this by the fact that the IIS logs show 0 bytes are posted, whereas the previous 401 request show a lot of bytes are POSTed.On the times it does work, what happens is that the first request for the HTTP POST the FileReference makes so happens to send the windows credentials along, so the client is not challenged.

View 1 Replies

Flex :: Flash - Getting Return Result On File Upload?

Feb 8, 2010

For For some reason, I'm not getting any result returned to me when uploading a file to my server. I'm using a php script, the file gets sent, gets uploaded, but I can't get the return result.

I am firing these event listeners:
fileRef.addEventListener(ProgressEvent.PROGRESS, fileRef_progress);
fileRef.addEventListener(Event.COMPLETE, fileRef_complete);

[code].....

View 1 Replies

JavaScript :: Flex Hack For Authenticated File Upload

Oct 27, 2011

Does anyone know the file upload hack for Flex, which will allow files to be uploaded to authenticated web services via multipart form post? In this bug report from the Adobe site, a user reports: Flash isn't cross-browser compatible if this feature only works via Javascript hacks. So far, I've been unable to craft such a hack. I'm unsure what to do next. Here's what I've tried so far (all have been unsuccessful or impossible).
Set cookies on url
Pass cookies to Flex URLRequest
Create hidden html form in javascript to post file

View 2 Replies

Flex :: Html5 - File Upload Not Working Using URLRequest

Feb 13, 2012

I used upload functionality by html . using given code it's working fine .

[Code]...

BUT GETTING Bad request error . so anybody know , what did i wrong in code.

View 1 Replies

Flex :: Upload Image Then Share Without Saving The File Using SharedObject Or Anything?

Jun 10, 2011

I'm currently working on a chat with uploading an image and sharing it. The problem is I can upload and display the image but I can't share it to the other side. Here is some code:

[Code]...

View 1 Replies

Php :: Limit Flex Web App Upload File Formats And Size (server Script PHP)?

Oct 15, 2009

I have found this great tutorial, about uploading files with a Flex app, using Php to do the server scripting for us.

http:[url]....Its great, but i wanted to know what changes should i do at the ActionScript so that only accepts image files, and if possible to limit the file size upload and show a message when one of these conditions are violated.

EDIT

File Filter & Size Limiter Done. Code:

<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" [code]........

View 3 Replies

Java :: Flex File Upload With HTTPS - No Access To User Principal

Dec 29, 2009

We're trying to upload a file from a flex client to a JEE app.
In a full HTTPS environment
JEE server is JBoss 5
Using BlazeDS 'Custom' authentication (username and password are entered through a flex form)
Using BlazeDS per session authentication
In regular AMF calls, we can access user principal and use role mechanism. However, in our upload servlet, we have no access to user principal.
request.getUserPrincipal() // returns null

View 2 Replies

Flex :: Simple File Upload Using UI And Spring/Hibernate/BlazeDS Backend?

Jul 13, 2010

I'm trying to implement a simple application which uses Flex on the front end and a Spring/Hibernate application on the back end, with communication between the two going over a BlazeDS channel.

I'm seeking direction as to the best and/or simplest way to approach this. I have the UI set up in such a way that the user is presented with a file chooser in which they pick the image file they want to upload. When this is chosen and submitted (as a form submission) then the server side should receive the image file data as well as some related metadata such as a description and date, then populate a Hibernate entity/POJO with the image file data and related metadata, and then persist the entity/POJO into the database.

I have found some examples of how you would do a file upload and download using servlets here and the FileReference class (here and here) but these don't appear to address the problem in a way which leverages BlazeDS and/or Spring/Hibernate. I want to put the image file data and related metadata (description, capture date, etc.) into a value object within the Flex application and then send this over BlazeDS to a service provided by my Spring/Hibernate application running on Tomcat. In this service I want to extract the image data (both the actual JPG/PNG/GIF data and the related metadata such as description, etc.) from the value object sent from the Flex app into an entity/POJO which is then persisted via Hibernate in my database.

Can this be done, and if so what's the best way to go about it? Am I mistaken in assuming that if I use BlazeDS then I am somehow bypassing the need to provide HTTP-based services such as servlets on the server side and instead I can use my Java services as "RemoteObjects"? Is there necessarily a one-to-one mapping between Java POJO/entity class and the Flex value object class when making this sort of transfer? If so is there a tool which creates corresponding Flex value objects from Java POJOs or vice versa.

Update: Some code to make this more clear:I have this as my value object in Flex:

package valueobjects
{
import flash.utils.ByteArray;
[Bindable]

[code]....

When I set a breakpoint in the method above and look at the image variable it looks to be empty, so I'm assuming that the transformation from the Flex value object to the Java POJO did not go as expected and that there's more to it than just adding a RemoteClass alias in the Flex value object class.

View 1 Replies

Flex :: File Upload - FileReference Doesn't Work With NTLM Authentication?

Jul 15, 2011

We use the FileReference component to upload file in Flex. But if the application is deployed within an environment having NTLM authentication (Windows Integrated Authentication), the upload capability will not work, and each time a message box will be popup asking the user to input credentials.I've queried some resource from internet and it seems this is a bug of FileReference component.

View 1 Replies

Flex :: Internet Explorer - File Upload - Io Error #2038 Over HTTPS

Sep 1, 2011

i have a flex file upload application over https it works fine on all IE browsers. Recently a client with IE9 reported a complaint that she's not able to upload files. can see the error generated is IO Error #2038. The adobe documentation says 2038 is File I/O Error.This error occurs when an application can't get file size, creation date or modification data using the FileReference API.

All i can think of is browser issues like, browser cache, some new configuration in IE9 am unaware of or permission on the client directory.

View 1 Replies

Flex :: Use The FileReference.upload() Function To Upload Files To Sharepoint Or Have To Use The SP Web Services

Feb 5, 2010

Can 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 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved