Free Support Forum - aspose.com

Cant Open Image File Error on https

We are getting an error when doing the save command of a PDF with an image object. The save works great when we run on our server under non-SSL but gets an error cannot open file when we are using SSL https.

For example,
img.ImageInfo.File = "http://remote.company.com/FileServer/myimage.jpg"
img.ImageInfo.ImageFileType = Aspose.Pdf.ImageFileType.Jpeg
img.ImageInfo.FixWidth = 400
sec1.Paragraphs.Add(img)

this works great, now if I change the file to be:
img.ImageInfo.File = "https://remote.company.com/FileServer/myimage.jpg"
and run I get the Cannot open file error

I know that the file exists and can be opened https - I can copy the exact name into my IE address bar and the picture displays fine!

Please help!!
Thanks,
Angela

Dear Angela,

Thank you for considering Aspose.

Https is not supported in the current version. I have added support for it now. Please download hotfix here. If you still has problem to use https, please let me know.

Thank you for your prompt reply/fix -
I am unable to unzip the file? Can you please try posting it again or emailing it to me?

Thanks!
Angela

Dear Angela,

Thank you for considering Aspose.

The file is corrupt because of FTP error. I have updated it. Please download again. Sorry for the inconvenience.

Wanted to let you know that your hotfix worked!
Thanks very much!
Angela