LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-31-2010, 09:00 AM   #1
rkaranjkar
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: Disabled
copying into Linux machine from windows server without using winscp


Hi,

I frequently need to copy some(different data all the time) data from a windows server onto Linux machine.

Usually I follow copying data from windows server onto my windows local machine and then --> by using winscp copy same onto linux machine.

Now I am looking for the direct step where I can copy data of windows server directly to my linux machine.

I don't know the ip address of the windows server machine.

Here are the details of machines:

1) windows server: \\xyz
2) local windows machine: abc
3) Linux machine ip: l.m.n.k

Please let me know the command by which I can access/copy data of windows server \\xyz (without knowing its ip) from my linux machine whos ip is l.m.n.k

Thanks,
rkaranjkar.

Last edited by rkaranjkar; 08-31-2010 at 09:02 AM.
 
Old 08-31-2010, 09:36 AM   #2
suprstar
Member
 
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, debian
Posts: 142
Blog Entries: 2

Rep: Reputation: 22
Set up a samba driveshare on the linux box, and let your windows server map a drive to it. Samba can be extremely restrictive, so that only a single user on a single ip can access it, and nobody else can even see that it exists.

Or mount the windows server driveshare on the linux box -

mount -t cifs //xyz/sharename -o username=myuser,password=mypassword /mnt/whatever/

(assuming xyz resolves to an ip)

Last edited by suprstar; 08-31-2010 at 09:39 AM.
 
Old 09-01-2010, 02:53 AM   #3
rkaranjkar
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: Disabled
to superstart

hi Superstar,

I tried using second option of mounting.
but it gives me error: unknown filesystem type 'cifs'

BTW I am using Ubuntu 8.04 with kernel version of 2.6.32.9
 
Old 09-01-2010, 03:33 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
Quote:
Originally Posted by rkaranjkar View Post
hi Superstar,

I tried using second option of mounting.
but it gives me error: unknown filesystem type 'cifs'

BTW I am using Ubuntu 8.04 with kernel version of 2.6.32.9
It is not clear from this (or the original) post if you have set up samba/cifs yet. You cannot 'just' mount your share, certain things must be present first.

Maybe this, Ubuntu specific link will help: Mount samba shares with utf8 encoding using cifs

Hope this helps.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying files from windows clients to linux server sarajevo Linux - Networking 2 05-17-2008 02:18 AM
WinSCP > Linux Firewall > Windows OpenSSH joadoor Linux - Security 4 07-14-2004 03:18 PM
how do i view linux server on my windows machine? fogurt Linux - Newbie 1 05-13-2004 12:21 AM
Accessing linux server from windows machine Saffsd Linux - Newbie 9 01-21-2004 10:37 AM
Reading data from floppy (on Linux) and copying to Windows Machine yrraja Linux - General 1 07-30-2003 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:34 PM.

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