intranet

Asked by naufal

Hi,
I have two computer in my house that browsing internet using Dlink router....
One computer running ubuntu 7.10 and the second one running windows xp home edition...
How can I sending files from one computer to another computer?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Utkarshraj Atmaram
Solved:
Last query:
Last reply:
Revision history for this message
Utkarshraj Atmaram (utcursch) said :
#1

If the two computers are already connected, you can transfer files in several ways:

* Install ssh server on Ubuntu machine (sudo apt-get install openssh-server). Then install an WinSCP on the Windows machine <http://winscp.net/>. Now you can transfer files using WinSCP.
* Share files and folders: https://help.ubuntu.com/7.10/internet/C/networking-shares.html
* Install FTP/HTTP server (e.g. ftpd, apache2) on one machine, and use an FTP client/web browser on the other machine.

If you want to set up a home intranet, please read these posts on Ubuntu forums:

Home Intranet Planning (just got my new server box back home)
http://ubuntuforums.org/showthread.php?t=383261

Help with an intranet setup
http://ubuntuforums.org/showthread.php?t=358237

Intranet using Ubuntu and LAMP setup
http://ubuntuforums.org/showthread.php?t=243062

Revision history for this message
naufal (musp-student) said :
#2

Hi,
I installed openssh-server on my Ubuntu machine and WinSCP on my windows machine,
can you teach my how to use that thing....
Thanks for the help....

Revision history for this message
Best Utkarshraj Atmaram (utcursch) said :
#3

If the ssh service is not already running on your Ubuntu machine, start it using:
sudo /etc/init.d/ssh start

Now, start WinSCP on your Windows machine, enter the address of the Ubuntu machine in the "hostname" column. Also, enter your Ubuntu username and password, and click Login. (use default settings for rest of the options)

If the login is successful, you'll see an explorer-like interface, with contents of Ubuntu machine in one pane, and those of the Windows machine in the second pane. You can drag and drop files between the two panes to transfer them.

Revision history for this message
naufal (musp-student) said :
#4

Hello,
Thanks for the very nice answer...
Now I can transfer files between Ubuntu and windows xp machine using windows xp host...How can I do that using my Ubuntu host?
Thanks for your attention....

Revision history for this message
Utkarshraj Atmaram (utcursch) said :
#5

You can transfer files from Ubuntu to Windows, or Windows to Ubuntu, using WinSCP on the Windows machine. For transferring files using Ubuntu machine as a client, you'll have to start some service (Server, SSH, FTP, HTTP etc.) on Windows machine.

I'm not sure which services are available by default in the Windows XP home edition. I think the simplest way is to go with the Shared folders. You can find information about configuring file sharing on Windows at <http://support.microsoft.com/kb/304040> You can find detailed instructions on how to access these shared folders from Ubuntu at <https://help.ubuntu.com/7.10/internet/C/networking-shares.html>

If you want to use FTP/HTTP/SSH, install an FTP/HTTP/SSH server on Windows, and start the service. A good FTP server for Windows is FileZilla <http://filezilla-project.org/download.php?type=server> A good HTTP server is Apache<http://www.apache.org/dist/httpd/binaries/win32>. Windows XP also has HTTP/FTP server, but I'm not sure if this is available with the Home edition. On a WinXP Professional machine, you can install Internet Information Services which includes both HTTP and FTP services (Start → Control Panel → Add or Remove Programs → Add/Remove Windows Components). A good free SSH server for Windows is <http://www.freesshd.com/?ctt=download>

Once you've installed and start one of these services (Server, HTTP, FTP or SSH) on the Windows machine, you can connect to this service from Ubuntu:

* Places (on top panel) → Connect to Server

* Choose appropriate service type (FTP, Windows Share etc.)

* Connect

For HTTP service, you can use a web browser (Firefox, Opera, Konqueror etc.)

For SSH service, you can also use Konqueror by typing this in the address bar:
fish://username@ip_address_of_ssh_server/path

Revision history for this message
naufal (musp-student) said :
#6

Thanks Utkarshraj Atmaram, that solved my question.