ApacheNAS Posted October 29, 2008 Share Posted October 29, 2008 hi i got a new quad drive NAS which runs apache and is configured through a webgui it came with torrentflux which works like a charm . Im more of a rapidshare user and have a premium account (so its essently a normal http download) I was wondering if anyone could point me to a pre made php script that transloads a group of links onto the nas , Preferibly without using any database . Although it runs apache i dont have access to the console or anything like that just the webgui . Thanks Quote Link to comment https://forums.phpfreaks.com/topic/130597-using-php-to-download-files-to-a-nas/ Share on other sites More sharing options...
corbin Posted October 29, 2008 Share Posted October 29, 2008 NAS as in network attached storage? The easy solution would be to map the drive and use it like a normal drive in PHP. If that's not possible, you would probably have to figure out how to implement the Samba protocol in PHP. Quote Link to comment https://forums.phpfreaks.com/topic/130597-using-php-to-download-files-to-a-nas/#findComment-677849 Share on other sites More sharing options...
Lamez Posted October 29, 2008 Share Posted October 29, 2008 Samba protocol = smb:// Quote Link to comment https://forums.phpfreaks.com/topic/130597-using-php-to-download-files-to-a-nas/#findComment-677910 Share on other sites More sharing options...
corbin Posted October 29, 2008 Share Posted October 29, 2008 Samba is already in PHP? Nice! Quote Link to comment https://forums.phpfreaks.com/topic/130597-using-php-to-download-files-to-a-nas/#findComment-677930 Share on other sites More sharing options...
Lamez Posted October 30, 2008 Share Posted October 30, 2008 Samba is already in PHP? Nice! No I have no clue if it is, but in Linux, when I want to get on my network drives, I can type in smb://servername/path Quote Link to comment https://forums.phpfreaks.com/topic/130597-using-php-to-download-files-to-a-nas/#findComment-678049 Share on other sites More sharing options...
corbin Posted October 30, 2008 Share Posted October 30, 2008 Oh. That could be because PHP supports it natively, or it could be [more likely] that Samba is installed and it registers its self as a protocol. Samba owns ;p. Quote Link to comment https://forums.phpfreaks.com/topic/130597-using-php-to-download-files-to-a-nas/#findComment-678133 Share on other sites More sharing options...
Lamez Posted October 30, 2008 Share Posted October 30, 2008 Ya, do I have to have multiple users for multiple computers? (Samba) also: http://www.phpclasses.org/browse/file/5788.html Quote Link to comment https://forums.phpfreaks.com/topic/130597-using-php-to-download-files-to-a-nas/#findComment-678142 Share on other sites More sharing options...
corbin Posted November 1, 2008 Share Posted November 1, 2008 Ya, do I have to have multiple users for multiple computers? (Samba) also: http://www.phpclasses.org/browse/file/5788.html What do you mean? Multiple users on the computer that is hosting the files? No. You shouldn't need multiple users on any of the computers. Quote Link to comment https://forums.phpfreaks.com/topic/130597-using-php-to-download-files-to-a-nas/#findComment-679779 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.