is here any way to access network files with remote login? It means, I have application server (Windows server), file server (connected to app server by LAN) and client terminals. File server is protected by login and password and I need to access it from the server scripts. I'm using now following code:
system('net use R: "//FileServer/data" pa55w0rd /user:user /persistent:no>nul 2>&1');
When I've tried it at the first time, it worked, but god knows why, now it's not working :-(. Any ideas please? Thanks.
P.S.: It's not working even if I mount file server as an unit of the application server.