File upload through BlazeDS remote object?

After researching file upload options in flex, it seems like the only option is through HTTP service requests, such as:
private var fileRef:FileReference;
fileRef.upload(new URLRequest(FILE_UPLOAD_URL));
Is there any way to use BlazeDS remote objects to upload a file from Flex interface? Perhaps passing in a FileReference object and marshalling it into an equivalent Java object?


I know there is a workaround like this. It uses a servlet to upload a file and returns a url. The uploaded file is either stored in session or server file system until the session expires. Use the PropertyProxy to register a custom class which contains this url and convert to It is the limitation of the player. It cannot read the local file system for security reason. There is a sample in blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/blazeds/qa/remotingService/
PropertyProxyRegistry registry = PropertyProxyRegistry.getRegistry();
PropertyProxy proxy = registry.getProxy(;
if (proxy == null)
registry.register(, new FileProxy());
proxy = registry.getProxy(FileReference.class);
if (proxy == null)
registry.register(FileReference.class, new FileReferenceProxy());
Hope it can help

Help needed...   File UPload  problem on remote Machine..

Hello Helpers.... Advance My heartfull thanks me have problem in file uploading... me have program for file upload... but it will work perfectly in same system.. (i mean server).. i cant upload in client machine.. resourse not found (error) is commin

Tomcat shutdowing when remote object is calling secondtime from flex to blazeds

Hi All, I am new to flex and started working on i called one remote object from flex through blazeds.its working fine but when i call second time tomcat is  shutdowing .again if i start tomcat it is working fine. what is the problem does any

File upload & download through web Dynpro

Hai All,      Now i am working in webDynpro 2.0.9. For file upload and download through webdynpro "resource" is used.But in my webdynpro version 2.0.9. "resource" is not tell me how to upload & download by using this ve

File upload and download through web Dynpro2.0.9.

Hai All,       File upload and download through web Dynpro "IWDResource" package is used.But in web Dynpro 2.0.9. this package is not possible.How to uplolad and download  files through web Dynpro2.0.9.       Anyone can help me? Thanks in Advanc

Binding RMI-IIOP Remote Object in RMI Registry through JNDI

hi friends I am writing RMI-IIOP Remote Object, both server program, and client program are java programs. Through JNDI (with cosnaming name service), my program is working. But what i want is, I want to use JNDI (with rmi registry name service) for

Upload a file to the application top using File Upload feature of OAF

Hi, I am facing some problem when trying to upload a file from my desktop to the application directory (e.g. AR TOP). I do not want to use the fnd_lob table,want to load the file to that directory directory, is it possible using OAF file upload?Refer

Useful Code of the Day:  Multipart Form File Upload

So, you want to upload files to your web server, do ya? Well, I've seen this topic posted a few times in the last month or so and many of the response I've seen here haven't included definitive answers. Of course, the actual problems vary, but ultima

UI Element File Upload -- to connect transaction IW52

Hi All, I created file Upload UI element in my WDA and creating Notification through FM BAPI_ALM_NOTIF_CREATE. Now my requirement is to attach the uploaded document to Notification created.Document should be attached in IW52 or IW53 -->Services for O

Issues with file upload in flex mobile application (sharepoint as backend)

Hello, I am working on flex mobile application for android platform for which we are having sharepoint as a backend. (Flex SDK 4.6 and AIR 3.9) Issue which we are facing is as follows: We are communicating with the backend server using webservices: e

File upload problem in java servlets

hello, I want to upload my files.i have used Multipartrequest object.In my form i had included enctype="multipart/form-data". I want to upload one or more files . So, I made a file input box and then a select option box. With the help of java sc

JSF RI 1.0 File Uploads mit Multipart Filter

Hi there, I already posted my problem - I need support for a basic file upload. My requirement is, that I want to access teh file data in a Managed Bean method and then decice what to to with it. I decided to use Jason Hunters Multipart Filter, that

File Upload using Tomcat 5.x Apache 2.x

Hi, Once I updated my tomcat 5.x to apache 2.x and ran my upload jsp code using java api i wrote to upload file to server, all pictures or videos received seems distorted.. At first i thought of bit shift or something but when i upload a textfile all

Validation after Excel File Upload in Table Maintenance

Hello All, I've done extensive research on this topic and still have yet to find the answer. I have created a custom button in the TMG to upload an Excel file to the table maintenance using the FM CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD. I updated the E

Breaking up data in a remote object

Currently I have a chart that gets its data using a remote object connection. The chart currently shows a months worth of data. Now I need to break that monthly data into weekly data. The customer would rather have the data spread acroos four weekly

Calendar & File Upload Components - Threadinar6

Hi All, This is the sixth in the "Threadinar" series , please see Threadinar5 at for details In this Threadinar we will focus on the "Calendar" and "File Upload" Componen

File Upload using Flex/ColdFusion.  2044 error

I am looking for a little more clarity around the file upload using Flex and Cold Fusion.  When I run this using my server I get Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. I did create a regular cfform and had it use my C

2-way file upload/download b/w client/server

I need help for a good design strategy for 2-way file upload/download betweeen client and server. I have to upload a set of files to the server (which is a servlet) and again the servlet downloads another set of files to the client (which is an apple

File upload diff server

hi i have done the file upload using java program with in same network.but when i try to upload to a file server of other domain then the upload is not working.i can ping to the file server but through java application the file does n't get uploaded.

File Upload problem: JSF, IBM WPS and Portlet - Please HELP Vey Very Urgent

I want to upload a file from the front end using JSF and Portlets deployed on IBM WebSphere Portal. I have used Apache's commons file upload functionality as the file upload provided in JSF doesnot work with portlets and the action event is not invok