我现在FTP上传图片成功了,但是图片上传后必须在本地建立文件夹在从文件夹里面拿出图片在上传到FTP服务器,我现在想直接将上传的图片转成image对象直接上传FTP服务器,不在本地文件夹中存储了.这代码怎么做啊?public bool ftpupload_wap_img(System.Drawing.Image image, string uri)
    {
        FtpWebRequest reqFTP;
        reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(uri));
        reqFTP.Credentials = new NetworkCredential("test", "test");
        reqFTP.KeepAlive = false;
        reqFTP.Method = WebRequestMethods.Ftp.UploadFile;
        reqFTP.UseBinary = true;        //实例化流 
        MemoryStream imageStream = new MemoryStream();
        //将图片的实例保存到流中            
        image.Save(imageStream, System.Drawing.Imaging.ImageFormat.Jpeg);
        //保存流的二进制数组 
        byte[] imageContent = new Byte[imageStream.Length];        imageStream.Position = 0;
        //将流泻如数组中 
        imageStream.Read(imageContent, 0, (int)imageStream.Length);
        byte[] buff = imageStream.ToArray();
        try
        {
            Stream strm = reqFTP.GetRequestStream();
            strm.Write(buff, 0, buff.Length);
            strm.Close();
        }
        catch (Exception ex)
        {
            return false;
        }
        return true;
    }这是我改的代码,图片上传后有此存转化的(image对象是此存转化后的对象),但是转成对应的尺寸后到FTP看不一样!