Linux.com

Home Linux Community Forums Linux Distributions SUSE Enterprise Unable to copy file from Linux to Windows

Unable to copy file from Linux to Windows

Link to this post 27 Oct 09

Hi, I have a Linux platform and Windows XP platform. I have created a shared folder on Windows. I am unable to copy file from linux to my shared folder in Windows. My command is as follow:

cp <filename> <destination_directory>

cp file.txt smb://<IP ADDRESS>/Deploy

Link to this post 27 Oct 09

Have you confirmed that your Linux based distribution is properly configured to communicate with the windows smb shared directory?

Link to this post 28 Oct 09

May I know how can I check if my Linux is configured properly to communicate with Windows?

Link to this post 28 Oct 09

It would help if we knew more about what Linux distro you are running, but, whatever distro it is, it needs samba to communicate with windows.
Do you have samba installed?
Do you have smb (or smbd) enabled in the services section. In Gnome I have a Services menu in System --> Administration. If you have that in your distro you can check to see (1) if it's there and if it is (2) if it's enabled.
I'm sorry I don't actively use samba, but a quick way to check would be to type "service smb on". I use Fedora with Gnome, and, if I type that phrase, there is no reply if samba is installed and the smb daemon is running. If it is not installed I get an error message.
If you don't have samba installed, you can go to your administration menu, click on add/remove software, search for samba then install it.
Since I don't know what distro or Window Manager you are using I can't be more precise in my instructions than that.

LOL..this is under Suse Enterprise, my dumb. If your using Gnome in Suse, the above should work the same as in Fedora.

Link to this post 28 Oct 09

Mine is Linux SUSE Enterprise 10. From what I saw in the system services, there is one called "smb". But is not enabled.. will it affect anything if I enabled it?

Link to this post 14 Nov 09

This may be a silly question, but wouldn't it be much easier to use a GUI which has drag-and-drop capabilities? In Mint or Ubuntu, I just use the Nautilus file manager.

Lee

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board