Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-15-2003, 10:06 AM   #1
LQ Newbie
Registered: Dec 2002
Location: Montreal
Distribution: Mdk9
Posts: 20

Rep: Reputation: 0
Exclamation Storing files from linux to NT

Heres the rundown...

I have a linux box acting as a web server and have written a file upload script which works fine when uploading files to the linux box itself.

However what I would like to do is have the access come through my linux box - and store on an NT machine on the network.

My question is: How can I point a directory on my linux box to a directory on the NT machine?? Any ideas? I am running samba - if that helps -

Old 01-15-2003, 10:36 AM   #2
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
man ln
Old 01-15-2003, 11:07 AM   #3
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Not helpful. Not helpful at all..

ln will ln NOT do what this guy wants. I suggest you quit 'helping' people and go be terse somewhere else.

As for the solution to your problem Buddy, yes - samba is what you need. At least, the samba CLIENT.

Create a directory under your web documents for the files you want uploaded to your NT box.

Make sure you have the samba *client* software.

then issue the command :

smbmount //<NT MACHINE>/<NT SHARE> /www/uploaddirectory -o username=<who you log in as>

eg :

smbmount //Binky/Uploads /www/uploads -o username=administrator

You'll need to set the rights on the directory on the NT machine correctly for the user logging in, and also share it out

This will pull the NT directory over to your Linux box, mount it in the correct directory, and then any files you put in that directory will be written on your NT box

If you don't have it you can find the samba software at

samba client is what you want..

Old 01-15-2003, 05:36 PM   #4
LQ Newbie
Registered: Dec 2002
Location: Montreal
Distribution: Mdk9
Posts: 20

Original Poster
Rep: Reputation: 0
You Rock mate! Works like a dream!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing BibTex bst files in home directory drben Linux - Software 1 11-01-2005 02:31 PM
Trying to use a vector for storing pointers... (C++) Dark Carnival Programming 7 08-09-2005 05:40 PM
Tk: Storing Output of Program Kenji Miyamoto Programming 4 06-25-2005 01:57 AM
Storing Strings ToothlessRebel Programming 4 09-05-2004 03:16 AM
Storing /home in CVS Cyth Linux - General 2 01-03-2003 03:10 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration