Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to transfer file from Linux to Xp??

Status
Not open for further replies.

meganwhite

Technical User
Nov 6, 2003
16
US
I have a pc with red hat linux installed and I need to transfer some files from it to another pc which has windows XP os. I do not have internet but all I have is a patch cable. How can I ftp the files ?
Any sujjestions??
Megan
 
Start the ftp-server on linux. (ftpd or in.ftpd)
Start ftp client on win
Code:
#> ftp LINUX_IP
#> username: LINUX_USER_NAME
#> password: s*cr*t
#>
you should now be in the LINUX_USER home dir.

Securetyquestions aren't touched yet.
I don't know whether xp has a ftp-server.
Then you could do it the other way round.

Using windows-folders-access would be more complicated, you needed to setup samba.

Netcat could be used for the task too, which is beyond my scope.

tftp (tiny - ftp?) could help too

seeking a job as java-programmer in Berlin:
 
yes i have the crossover cable. I tried to use a hub and the linux os connects to another linux pc when I mount the ip of that pc, but does not recognize the ip of my pc running on xp. If I try to ftp from the pc with XP I get the message connection refused by host. Is there any possibility I can install samba on the linux pc?
 
Don't blow off sleipnir's question about the patch cable. You can't use a patch cable to connect to PCs directly. You need a crossover cable. If you're not sure which you have, hold both ends together. If they are identical, then it's a patch cable. If the color pairs are not in the same order, it's a cross-over cable and you are good to go. Since both use the same type of cable (usually cat5) you can't always tell by what's written on the sheathing. Sometimes you get lucky and they put Cross-over Cable on one or both ends. Once you get connected, you may want to consider running Samba which lets linux and windows "share" files and directories. It comes with Red Hat so if it's not installed, it will be on one of the CDs.

 
Sorry meganwhite, we must have been typing at the same time. I'm just a little slow these days.

 
meganwhite:

It sounds like you have the right cable to plug from the network adapter of one machine to the network adapter of another. Just plug it in and make sure you have connect lights on both cards.

After that, you need to get the IP addresses of the two network cards right. They will have to be in the same network subnet, but not on the same IP address.

Once you have that right, you can do one of:[ul][li]run an FTP daemon on the Linux machine and pull the files to the Win32 machine via FTP download[/li][li]run Samba on the Linux machine and pull the files to the Win32 machine via Microsoft Networking[/li][li]run smbclient on the Linux machine and push the files to the Win32 machine[/li][/ul]

There are probably other solutions, too.


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
yes - install a mailserver and send the file as attachment.

but honestly: the most easy way should be to use ftp.

After connecting the cables and watching the lights, you first test the connection with ping:

('connection refused' sounds good - sound, as if connection itself is possible; just to be sure:)
win#> ping LINUX_IP
linux#> ping XP_IP

(on error:)
win#> ping XP_IP
linux#> ping LINUX_IP


man hosts
man hosts.allow
man hosts.deny

man ifconfig
ls -la /etc/ftp*

Is one of both running a firewall (this will make trouble - independent from whether you use ftp, samba, mail or whatever).


seeking a job as java-programmer in Berlin:
 
or you could copy the files to:
- a floppy disk
- a CD
- a USB memory drive

these should all be readable by an XP machine.

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
Install Apache webserver, it provides simple access to all types of content, and copy the files to the main directory, connect to apache from the XP machine and download the files.
 
Install Apache webserver, it provides simple access to all types of content, and copy the files to the maindirectory, connect to apache from the XP machine and download the files.
 
Thanks for all the help guys I got the files transferred
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top