Filesharing...advanced...
Posted: Thu Mar 25, 2010 2:09 pm
So I am working on an intranet application for a company and right now one can upload files to share with other users. The following request was just submitted by my boss...
"Marketing would like to use the project system to attach media files for unified storage. The linux box is not a good place for holding that amount of data. Need to add an option to document function to choose a storage folder. The folder could be a physical drive on the machine running the browser or a network share the user has access to. If this option is chosen, then instead of uploading the files, it would display the contents of the selected folder."
So basically, he wants instead of uploading, to allow users to select a folder locally and have the intranet system somehow display this to other members.
I am 90 percent sure this is not possible with PHP. I dont see how it would be. Unless I could grab the users IP and then connect to that IP somehow and crawl for folders if its shared. I have no idea how I would do this though, and I still doubt its possible.
Any advice? Any alternative ideas if this isnt possible? Also what is a good way to explain to my boss this is not possible without sounding like I dont know what Im talking about? Since, really I dont know much about networks so I dont know if theres some fancy way I can grab said information.
Any help would be grand.
"Marketing would like to use the project system to attach media files for unified storage. The linux box is not a good place for holding that amount of data. Need to add an option to document function to choose a storage folder. The folder could be a physical drive on the machine running the browser or a network share the user has access to. If this option is chosen, then instead of uploading the files, it would display the contents of the selected folder."
So basically, he wants instead of uploading, to allow users to select a folder locally and have the intranet system somehow display this to other members.
I am 90 percent sure this is not possible with PHP. I dont see how it would be. Unless I could grab the users IP and then connect to that IP somehow and crawl for folders if its shared. I have no idea how I would do this though, and I still doubt its possible.
Any advice? Any alternative ideas if this isnt possible? Also what is a good way to explain to my boss this is not possible without sounding like I dont know what Im talking about? Since, really I dont know much about networks so I dont know if theres some fancy way I can grab said information.
Any help would be grand.