linux/winxp/dlink/share files

Posted on 2004-09-18
Last Modified: 2010-03-18

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,

Question by:solodiver
  • 9
  • 2
LVL 10

Expert Comment

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.
LVL 10

Expert Comment

ID: 12090790

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

LVL 10

Expert Comment

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@    

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@ 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.


Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.


Author Comment

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


LVL 10

Expert Comment

ID: 12090830

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

Expert Comment

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
LVL 10

Expert Comment

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
  -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


Author Comment

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 ?
LVL 10

Expert Comment

ID: 12090901

now instead copy you ar using pscp command :
 syntax is simple command what and where
root@           ->now it is root directory but you can modify it.
so whole command is:
pscp txt.txt root@
here you copy file from windows to linux
oposite now:
syntax is same  command what where
so whole command is:
pspc root@ 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.

LVL 10

Expert Comment

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.

LVL 10

Accepted Solution

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

I must go now....


Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SFP configuration on a Linux server 8 239
linux dns for internal resolve 2 63
Setup static routes for IP address in CentOS 2 67
centos7 firewalld udp ports 33 81
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

713 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