Solved

Sharing files between a CentOS server and WIndows server.

Posted on 2011-02-13
3
874 Views
Last Modified: 2012-06-22
Hello,

I have two servers. One running WIndows 2003 server, and the other CentOS.  Both are in the same segment of the network.

I would like to be able to access some files in a directory on the CentOS server, from an application on the Windows server.

If this was two windows severs I would just share and map the directory.  However I have no experience of Linux and/or CentOS.

How would i go about doing this?  Should i map a directory somehow, or FTP the files to the windows server?  Can anyone recoment a solution.

Thanks.

0
Comment
Question by:soozh
3 Comments
 
LVL 9

Expert Comment

by:AriMc
ID: 34882422
You can access network disks shared by Windows computer by mounting them
as smbfs-disks. Instructions can be found here:

http://www.cyberciti.biz/tips/how-to-mount-remote-windows-partition-windows-share-under-linux.html
0
 
LVL 6

Accepted Solution

by:
t-max earned 500 total points
ID: 34882499
From what I understood in your description, it seems you need to access your linux files from a Windows program.
The following link has a very shortened guide:
http://www.hackorama.com/network/samba.shtml
If you want a more thorough description on how to achieve this, take a look here:
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch10_:_Windows,_Linux,_and_Samba
0
 
LVL 3

Expert Comment

by:oppofwar
ID: 34913507

Suppose you want to access a share in windows from Linux use the below command

mount -t cifs \\\\IPADDROFWINDOWSMACHINE\\SHARENAME /mnt -o username=USERNAMEOFWINMACHINE password=PASSWDOFWINMACHINE

this will mount the share to /mnt directory
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now