0

I get my image file like this;

var image = WebImage.GetImageFromRequest();

Than I save my image file to my local like this;

image.Save(Path.Combine("~/Images", NewFileName), "jpg");

But I want to save the image file to another hosting.. How can I do this??

yusuf
  • 1,233
  • 1
  • 15
  • 29
  • you can't use save here, you need to create new ftp request to upload the file to another host, save only works on current host. – Simon Wang May 02 '13 at 09:17
  • Ok I know, but how can I change file format and can you give me an example using FtpWebRequest with WebImage?? – yusuf May 02 '13 at 09:24
  • 1
    http://stackoverflow.com/questions/12784550/uploading-a-webimage-to-ftp – Simon Wang May 02 '13 at 09:27
  • Yes, It can be exp to FtpWebRequest with WebImage.. But it is not answer to changing file format.. – yusuf May 02 '13 at 09:30

0 Answers0