Upload in FTP and the Web Player

Hi friend! I have (another) little problem with the web player,eheh

I have created a shirt editor,and i want to save the shirt in a ftp folder.

Here is the code of the upload:

byte[] bytes = texture.EncodeToPNG();


            FtpWebRequest request = (FtpWebRequest)FtpWebRequest.Create("XXXX" + idUser + "_jersey.jpg");
            request.Method = WebRequestMethods.Ftp.UploadFile;
            request.Credentials = new NetworkCredential("XX", "XXX");
            request.UsePassive = true;
            request.UseBinary = true;
            request.KeepAlive = false;

            //Upload file
            Stream reqStream = request.GetRequestStream();
            reqStream.Write(bytes, 0, bytes.Length);
            reqStream.Close();

Now,with the Unity Standalone it works well…but when i create the web player it doesn’t works…can you help me? :\

Anyone? :\

The webplayer has for security reasons some stuff removed. For example all file - file io related stuff is out, System.Environment is out and System.Diagnostics is pretty much out too

The WebRequest stuff on various places relies on at least one if not even more of those aspects

you can check the webplayer log to see where it fails

i have made a check…and it show a “NotSupportedException”…

So,how can i upload a file with the webplayer? :\