I got a redir Code Within a grid Button and in local test it works but when it’s on server not
sc_redir(’…/…/…/file/doc/eos_sales_doc/COND_GEN_FORNITURA_LUGLIO15.pdf’,’_blank’);
??? how have I to modify the button code path ??? in order to make it working both on local and on server ??
Directory on local PC where the document is stored
C:\Program Files (x86)\Scriptcase\v8_new\wwwroot\scriptcase\file\doc\eos_sales_doc\COND_GEN_FORNITURA_LUGLIO15.pdf
This is what it try to open once deployed on Server based on button sc_redir
“http://kfive.myscriptcase.com/file/doc/eos_sales_doc/COND_GEN_FORNITURA_LUGLIO15.pdf”
This is the real correct FTP directory on Server
/public_html/eosb2b/_lib/file/doc/eos_sales_doc/COND_GEN_FORNITURA_LUGLIO15.pdf