network file transfer: XP machine--> linux machine


Forum: DSL Tips and Tricks
Topic: network file transfer: XP machine--> linux machine
started by: logicmaster2003

Posted by logicmaster2003 on Dec. 13 2005,04:47
hi I was wondering if anyone could give me a tip on :

Transferring a file over the network.. from win XP machine --> linux machine.

To validate the connectivity between the two machines.. I am able to do RDesktop (remote desktop) from Linux machine into my winXP machine.

I basically want to copy some of my mp3 / avi collections off my win XP machine and watch it on Linux machine via MPLAYER.

Posted by skaos on Dec. 13 2005,10:14
If you have sshd running on your DSL box, then you could use < http://winscp.net/eng/index.php > to transfer the files.
Posted by sarah on Dec. 13 2005,10:58
Would using samba help? I can access a shared directory on the XP machine using smbtree and smbclient which I've run from the console.
I am asking if it would help because I don't know if it would work if I was trying to access secured XP machine (if there is such a thing!)
Cheers and beers
Sarah

::Edit:: ..And I should press preview before posting, and should not leave such a long time before I press "post" after typing out a reply..

::Edit:: And I apologise again because I responded without paying attention to which forum I was in.. sorry!

Posted by logicmaster2003 on Dec. 15 2005,22:17
hi sarah, i will try that tonight :)  and let you know
Posted by AwPhuch on Dec. 15 2005,22:37
WinSCP works thru SCP thru SSH

That will be the quickest and easist method without setting up a samba server

Good Luck

Brian
AwPhuch

Posted by roberts on Dec. 16 2005,03:52
Don't forget smbclient. It is built into the base of DSL.
Gives ftp'like access to shares on windows machines.
That is get filename and put filename.
There are some docs about it in the DSL Wiki.

Posted by larkl on Dec. 16 2005,12:31
I've found smbclient to work very well.  I always wanted to copy the same folders, so wrote a bash script that passes all the 'stuff' to smbclient each time.   Here's the meat of the script.

 
Code Sample
DR1='pc/share1 pc/share2 etc'
for ITEM in $DR1
do
if smbclient //$ITEM -Uuser%password -c "lowercase; prompt; recurse; mask *; mget *"
   then echo "`ls -r *|wc -l` files copied from $ITEM"
   else echo "Failed to copy files from $ITEM"
   exit_sub
 fi
done

Posted by Matt on Dec. 22 2005,15:41
How hard would it be to setup a samba server on the dsl cd so that it creates a share every time it runs?

Thanks in advance!

Matt
mattsrebatespam@yahoo.com

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.