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? :\