Link to home
Start Free TrialLog in
Avatar of soozh
soozhFlag for Sweden

asked on

Sharing files between a CentOS server and WIndows server.

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.

Avatar of AriMc
AriMc
Flag of Finland image

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
ASKER CERTIFIED SOLUTION
Avatar of t-max
t-max
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of oppofwar
oppofwar


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