Convert this page to outsystems

Convert this page to outsystems

  

Hi, i just developed a flash that returns a image and i trying to do this page in outsystems, how can i do it?
heres the code

the content is:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %>

the source .cs is:
using System;
using System.IO;

public partial class upload : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        // Get the data from the POST array
        string data = Request.Form["imageData"];

        // Decode the bytes from the Base64 string
        byte[] bytes = Convert.FromBase64String(data);

        // Write the jpeg to disk
        string path = Server.MapPath("~/save.jpg");
        File.WriteAllBytes(path, bytes);

        // Clear the response and send a Flash variable back to the URL Loader
        Response.Clear();
        Response.ContentType = "text/plain";
        Response.Write("ok=ok");
    }
}

regards



what do you want with it?

there are a couple of ways of doing it, but not sure what you want exactly?
(besides Flash giving me the shivers)

Do you want to upload an image and then...showing it?


Hi,
i have a flash, that returns a image. i saw this example http://stackoverflow.com/questions/928508/pass-image-from-flash-to-asp-net that gets the flash image and i wanna do it in outsystems. how can i do it?