?
Solved

linux/winxp/dlink/share files

Posted on 2004-09-18
11
Medium Priority
?
805 Views
Last Modified: 2010-03-18
hi,

this site has been very helpful.

i have now a working router that shares my cable internet connection to a linux mandrake 10 computer and a windows xp laptop. I would like to be able to share files between the two.

what would be the first step to accomplishing this?

i've tried to plug in ip's into the address bar's of browsers and no dice.

i've tried to ftp over to my linux computer but  i get a username and password error tried all combinations that i know of

thanks in adv,

_mike_h
0
Comment
Question by:solodiver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 2
11 Comments
 
LVL 10

Expert Comment

by:Luxana
ID: 12090787
mike you can share some files just copiing them usinf putty.exe that is the simples way or you cand rau samba servise which will alow you share linux resources for windows. but putty.exe is easy.
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090790
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

sorry putty.exe is secure schell this allows you configure your system from windows for copy filese download pscp.exe

0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090816
copy file txt.txt from windows. Save file pscp.exe to c:\ or whre is that file which you want copy

pscp txt.txt root@192.168.2.200:/root    

you schould by ask for yes answer:))
hre you copied file to yur root directory.

copy file from linux.txt from your linux box

pscp root@192.168.2.200:/root/linux.txt c:\

here you copied file from linux root directory to c:\ on your windows

all this commands you will do form command promt from your windows make sure that pscp.exe is in your path otherwise command wil be not found.

also you can copy whole direcotries and you can use globing such us * to match everything.

 

0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 

Author Comment

by:solodiver
ID: 12090826
ok, got access to my linux computer from windows.

how do i copy a file from linux to winxp and how do i specify where i want to copy it to?

what do i type in putty.exe in order to take example_file.gif  to my winxp computer?

i know in linux you type

cp example_file.gif  /directory

and the file is copied

thx,

_mike
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090830
http://www.scs.carleton.ca/help/apex.shtml#SCP-INSTRUCTIONS

or use graphycal pscp if you like:)))
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090845
see above I made mistake with putty.exe you are just administrating your linux box from everive on your network or if you have server on internet from everywhere from tho world(thats why is goot no rely on command promt not on GUI)

see my small manual regarding pscp.exe above for copy files between windows and linux
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090868
here is syntax:

PuTTY Secure Copy client
Release 0.55
Usage: pscp [options] [user@]host:source target
       pscp [options] source [source...] [user@]host:target
       pscp [options] -ls [user@]host:filespec
Options:
  -p        preserve file attributes
  -q        quiet, don't show statistics
  -r        copy directories recursively
  -v        show verbose messages
  -load sessname  Load settings from saved session
  -P port   connect to specified port
  -l user   connect with specified username
  -pw passw login with specified password
  -1 -2     force use of particular SSH protocol version
  -C        enable compression
  -i key    private key file for authentication
  -batch    disable all interactive prompts
  -unsafe   allow server-side wildcards (DANGEROUS)
  -V        print version information
  -sftp     force use of SFTP protocol
  -scp      force use of SCP protocol

so for copy copy whole directories use -r option

lubos
0
 

Author Comment

by:solodiver
ID: 12090881
plz give an example of what i would type exactly?

like cp example_filename.gif /whatevr comes next

i would like to , for example, take a file from one directory on linux and put it on c:\

what would i type exactly?
you see my problem, windows has one set of commands and linux another

if i were to do it in windows i would just type :

copy file.txt c:/windows

or whatever but now we are using two different sets of commands

so i can't mix them up, right? i can't just type cp file.txt c:\windows ?
thanks
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090901
ok

now instead copy you ar using pscp command :
 syntax is simple command what and where
command:
pscp
what:
txt.txt
where:
root@192.168.2.200:/root/           ->now it is root directory but you can modify it.
so whole command is:
pscp txt.txt root@192.168.2.200:/root/
here you copy file from windows to linux
oposite now:
syntax is same  command what where
command:
pscp
what:
root@192.168.2.200:/root/linux.txt
where:
c:\
so whole command is:
pspc root@192.168.2.200:/root/linux.txt c:\
here you copy file from linux /root to c:\ on windows

this is just exmaple you can change what and where depends of your needs.

0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090925
in case I need to say that now do not use putty.exe it has nothing to do with things what we are doing now.

0
 
LVL 10

Accepted Solution

by:
Luxana earned 2000 total points
ID: 12090963
also have a look here:

http://winscp.sourceforge.net/eng/download.php

I must go now....

Lubos
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month13 days, 4 hours left to enroll

777 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