i have two laptops :

1) windows 7 >> connected to wireless network + enabled ftp client + enabled telnet client

2) linux: opensuse >> connected to wireless network too

  • how to transfer files from windows7 to opensuse using FTP ?

  • how to remote access to opensuse desktop ?


Recommended Answers

All 6 Replies

With regard to FTP, did you install/enable an FTP server service?

No, sorry.. i meant on the Opensuse server. For FTP to work, you need an FTP server and an FTP client. If you want the Win 7 to be the client, you need to install a server component on the Opensuse computer.

If you followed the steps outlined in the link you provided, you would have enabled IIS to host an FTP server on the Win 7 computer. So if that is the case, does your Opensuse computer have an FTP client? In this case, the transfer of files would be done from the opensuse computer, not Win 7...

You transfer files using the FTP client on whatever computer you have the client installed on.

Most Linux distros, including Opensuse, have an SFTP/SSH server called OpenSSH installed and active by default. An FTP server and a telnet server are available for download and installation but they are less preferred because they are less secure and have fewer features. You would have to set these up seperately, but there is lots of on-line documentation. I recommend using the SFTP/SSH connection instead.

On your Linux machine, determine the IP address. Start a terminal and enter ifconfig. What is most important is the IPV4 address for the wireless interface, probably something like 192.168.?.?. You will need this numeric address to access your Linux box from the Windows box.

I like to use Filezilla (a free FTP/SFTP client) on the Windows box to access the SFTP server on the Linux box. PuTTY is a popular SSH/Telnet client that can be used to log into your account on the Linux box from the Windows machine. If possible install these software to provide the connection to the Linux SSH server.

For file transfer, use the SFTP client on the Windows computer to connect to the Windows box. I will describe how to do things with Filezilla, but other SFTP clients will do similar things, just sometimes in different ways. Start the Site Manager (File - Site Manager) and create a New Site. For the Host Name, enter the IP address of the Linux Box. Change the protocol to SFTP (if it is not already). Leave the port blank. Set the Login type to Normal. Enter your username and password in the appropriate fields. At this point, you should notice an entry in the left panel which is called NewSite. Click on Rename to allow you to give this entry a more meaningful name. Click on Connect to actually connect with the server on your Linux box. You may have to authenticate the server at this point. Click Remember and accept the connection.

Now that you are connected, you will notice your Windows directory structure on the left panel and a tree-structure of your Linux home directory on the right. Drag and drop the directories and files you want to move. If you want to move lots of files all over the place, you can queue the transfers (Right click on the file or directory - Add to queue) and then once you have selected everything you want to transfer, then tell the program to start the queue (Transfer - Process Queue). Sit back and relax. When done, close the connection (File - Close).

PuTTY or other SSH clients allow you to establish a terminal session to the command-line interface, like telnet does, but in a more secure and feature-rich manner. When you start PuTTY, you will need to establish a connection. Enter the IP address for the Linux box in Server, make sure that SSH is selected and click Connect at the bottom. You then get to log into a Linux session.

If you want to actually see what is happening on your Linux box's GUI, you will need another server, like VNC. I have not configured it, so I don't know how to do things with this.


but, after i click the connect button

Response:fzSftp started
Command:open "name@" 22
Status: Network error: Connection refused
Error: Could not connect to server

Can anyone help please?

A refused connection usually means that the server is not running or not configured properly. Make sure the "ssh" package is installed properly. Run netstat -let (that is an L, not a one) There should be a line where the local address reads as "?:ssh" or something like that. If not, you may need to start the program.
sudo service ssh start
If it will not start, then it may not be configured properly. Look for error messages when trying to start the service.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.