⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Upload and visualize file in folder different from the default (assets\uploads)



karinaferh
  • profile picture
  • Member

Posted 18 January 2019 - 11:23 AM

Hi, 

 

I need to save pdf files in a different location than the default  ( C:\AppServ\www\assets\uploads\files ) 

 

I must save them to a remote server and view it from CI. I was investigating but I can not find a solution. This is possible?


Note: I can upload in  ..\assets\uploads   and then view it from that same folder with <iframe src = "..\issets\uploads\example.pdf"  type = "application / pdf"></ iframe> but you would need to upload to a remote server and then view the file from that remote location. 

 

Regards,

 

Karina.