Jump to content


Photo

Linex to windows path address problems


  • Please log in to reply
4 replies to this topic

#1 Jurik

Jurik
  • Members
  • PipPipPip
  • Advanced Member
  • 59 posts

Posted 30 October 2006 - 02:18 PM

Hi guys i've just moved my finished project for work over to the server on which it is going to be run off only to find that its a linex box and that the place im saving the files to with the code is a windows box so the path I am using is on longer working. Can anyone tell me how I can set this

$target_path = "\\\benin\\videolibrary\\";

so that it moves from the linex server and onto the address given above which is a windows server.

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 30 October 2006 - 02:27 PM

For starters its Linux not Linex, and it uses / as a directory delimeter.

#3 Jurik

Jurik
  • Members
  • PipPipPip
  • Advanced Member
  • 59 posts

Posted 30 October 2006 - 02:34 PM

For starters its Linux not Linex, and it uses / as a directory delimeter.


ok well i've changed the

$target_path = "\\\benin\\videolibrary\\";

to

$target_path = "///benin//videolibrary//";

and still no joy, im sorry I havent used Linux before so I have no idea how to map an address from it

#4 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 30 October 2006 - 02:39 PM

You dont' need to escape forward slashes.

$target_path = "/benin/videolibrary/";

Also... you may need to remove the trailing slash.

#5 Jurik

Jurik
  • Members
  • PipPipPip
  • Advanced Member
  • 59 posts

Posted 30 October 2006 - 02:45 PM

You dont' need to escape forward slashes.

$target_path = "/benin/videolibrary/";

Also... you may need to remove the trailing slash.


well ive tried /benin/videolibrary/ as well as /benin/videolibrary and no success, would it bing worthwhile to meantioning that the benin drive is over a network, they are not in the same case together.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users