File transfers: Difference between revisions

From KDE UserBase Wiki
m (language bar)
(Markup edit)
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|File transfers}}
<languages />
<translate>
==Introduction==


==Introduction==
This tutorial describes how to transfer files to and from a remote server using the KDE Software Compilation.  This might mean downloading a file from a FTP server or saving a file over SSH.
This tutorial describes how to transfer files to and from a remote server using the KDE Software Compilation.  This might mean downloading a file from a FTP server or saving a file over SSH.


The KDE SC does not include a standard FTP client as you may know it from other platforms. There are some third party applications like [http://kasablanca.berlios.de Kasablanca] or [http://userbase.kde.org/KFTPgrabber KFTPgrabber] but they are not yet fully ported to the KDE Platform 4. The good news however is, you don't need such an application to manage files on your remote servers. The KDE platform features a far more powerful technique for dealing with such situations.
The KDE SC does not include a standard FTP client as you may know it from other platforms. There are some third party applications like '''[http://kasablanca.berlios.de Kasablanca]''' or '''[[KFTPgrabber|KFTPgrabber]]''' but they are not yet fully ported to the KDE Platform 4. The good news however is, you don't need such an application to manage files on your remote servers. The KDE platform features a far more powerful technique for dealing with such situations.


==Basic file transfers==
==Basic file transfers==
To connect to a remote server you can use almost any KDE application. You may choose the appropriate application depending on the task you want to do. For example, if you wanted to browse a remote server the best choice would be Dolphin or Konqueror. To edit a webpage you can directly use Quanta without the need of a separate FTP application. In this example we will use Dolphin and transfer files using FTP.
 
To connect to a remote server you can use almost any KDE application. You may choose the appropriate application depending on the task you want to do. For example, if you wanted to browse a remote server the best choice would be '''[[Special:myLanguage/Dolphin|Dolphin]]''' or '''[[Special:myLanguage/Konqueror|Konqueror]]'''. To edit a webpage you can directly use '''[[Special:myLanguage/Quanta|Quanta]]''' without the need of a separate FTP application. In this example we will use '''Dolphin''' and transfer files using FTP.


==Connect to a FTP server==
==Connect to a FTP server==
To connect to a FTP server just open Dolphin and click on an empty place in the address bar. Type the address of your server into the address bar. Don't forget the ftp:// at the beginning:


[[File:tutorials_ftp1.png|560px]]
To connect to a FTP server just open '''Dolphin''' and click on an empty place in the address bar. Type the address of your server into the address bar. Don't forget the ftp:// at the beginning:
 
 
[[Image:tutorials_ftp1.png|560px|center]]
 


If your server requires authentication you will be prompted for your credentials in a popup dialog. Enter your username and password. If you wish to save them, check the relevant checkbox. Dolphin will store your passwords securely in your KDE Wallet. For faster access you can insert the username and password directly in the address bar using this format: ftp://username:[email protected]; however we do not recommend this, as it is a security risk.  Not only is it visible in your location bar, but it is stored in plain text, and so can be easily read by anyone with access to your home folder.  Storing the password in KWallet is much safer, providing you have protected your KWallet with a password.
If your server requires authentication you will be prompted for your credentials in a popup dialog. Enter your username and password. If you wish to save them, check the relevant checkbox. Dolphin will store your passwords securely in your KDE Wallet. For faster access you can insert the username and password directly in the address bar using this format: '''''<nowiki>ftp://username:[email protected]</nowiki>'''''; however we do not recommend this, as it is a security risk.  Not only is it visible in your location bar, but it is stored in plain text, and so can be easily read by anyone with access to your home folder.  Storing the password in '''KWallet''' is much safer, providing you have protected your '''KWallet''' with a password.


==Other protocols==
==Other protocols==
FTP is just one example of the many different protocols that the KDE platform supports. There is a whole lot more to explore. To see a list of all supported protocols, click on the tick next to the address bar to switch to browse mode...
FTP is just one example of the many different protocols that the KDE platform supports. There is a whole lot more to explore. To see a list of all supported protocols, click on the tick next to the address bar to switch to browse mode...


[[File:Tutorials_ftp7.png|560px]]
 
[[Image:Tutorials_ftp7.png|560px|center]]
 


...and then on the ftp button at the beginning.
...and then on the ftp button at the beginning.


[[File:Ftp8.png|560px]]
 
[[Image:Ftp8.png|560px|center]]
 


The protocol selector should appear similar as shown on the next screenshot. What protocols are avaialble on your system, depends on which KIO plugins you have installed.
The protocol selector should appear similar as shown on the next screenshot. What protocols are avaialble on your system, depends on which KIO plugins you have installed.


[[File:Tutorials_ftp3.png]]
[[Image:Tutorials_ftp3.png|center]]


Note: Due to KDE bug #55804, files moved or copyed from the local machine to a remote machine via the fish protocol have the wrong timestamps. A workaround is to use SFTP for transfering files to another machine.
Note: Due to KDE bug #55804, files moved or copyed from the local machine to a remote machine via the fish protocol have the wrong timestamps. A workaround is to use SFTP for transfering files to another machine.


==Imitate a standalone FTP client using Dolphin==
==Imitate a standalone FTP client using Dolphin==
If you want a more standalone-ftp-client like experience you can use Dolphin's split view:[[File:Tutorials_ftp2.png|560px]]
 
If you want a more standalone-ftp-client like experience you can use Dolphin's split view:
 
 
[[Image:Tutorials_ftp2.png|560px|center]]
 


==Add a remote folder to your places bar==
==Add a remote folder to your places bar==
You can drag and drop a remote folder directly to your places and bookmark it:
You can drag and drop a remote folder directly to your places and bookmark it:
[[File:Tutorials_ftp4.png|560px]]
 
 
[[Image:Tutorials_ftp4.png|560px|center]]
 


==Directly access remote files in other KDE applications==
==Directly access remote files in other KDE applications==
As already said previously, nearly every KDE application is capable of accessing remote files and folders. For example, you can open a remote website directly in [[Kate]] by inserting the address in the file open dialog:


[[File:Tutorials_Ftp5.png|560px]]
As already said previously, nearly every KDE application is capable of accessing remote files and folders. For example, you can open a remote website directly in '''[[Special:myLanguage/Kate|Kate]]''' by inserting the address in the file open dialog:
You can now edit the file in Kate. When you click "save" the file will be directly uploaded to the server. That way, you don't need to download files before editing and upload them again after editing.
 
[[Image:Tutorials_Ftp5.png|560px|center]]
 
You can now edit the file in '''Kate'''. When you click <menuchoice>Save</menuchoice> the file will be directly uploaded to the server. That way, you don't need to download files before editing and upload them again after editing.


==Changing settings==
==Changing settings==
You probably miss some settings seen in standalone file transfer clients now, such as switching active and passive mode in FTP or timeout settings for your connections. Don't worry, you can find them in [[System Settings]] under "Network Settings". The "Connection Preferences" section may be especially useful.


[[File:Tutorials_ftp6.png|560px]]
You probably miss some settings seen in standalone file transfer clients now, such as switching active and passive mode in FTP or timeout settings for your connections. Don't worry, you can find them in '''[[Special:myLanguage/System Settings|System Settings]]''' under <menuchoice>Network Settings</menuchoice>. The <menuchoice>Connection Preferences</menuchoice> section may be especially useful.
 
 
[[Image:Tutorials_ftp6.png|560px|center]]
 


[[Category:Internet]]
[[Category:Internet]]
[[Category:Tutorials]]
[[Category:Tutorials]]
</translate>

Revision as of 15:14, 29 September 2010

Introduction

This tutorial describes how to transfer files to and from a remote server using the KDE Software Compilation. This might mean downloading a file from a FTP server or saving a file over SSH.

The KDE SC does not include a standard FTP client as you may know it from other platforms. There are some third party applications like Kasablanca or KFTPgrabber but they are not yet fully ported to the KDE Platform 4. The good news however is, you don't need such an application to manage files on your remote servers. The KDE platform features a far more powerful technique for dealing with such situations.

Basic file transfers

To connect to a remote server you can use almost any KDE application. You may choose the appropriate application depending on the task you want to do. For example, if you wanted to browse a remote server the best choice would be Dolphin or Konqueror. To edit a webpage you can directly use Quanta without the need of a separate FTP application. In this example we will use Dolphin and transfer files using FTP.

Connect to a FTP server

To connect to a FTP server just open Dolphin and click on an empty place in the address bar. Type the address of your server into the address bar. Don't forget the ftp:// at the beginning:



If your server requires authentication you will be prompted for your credentials in a popup dialog. Enter your username and password. If you wish to save them, check the relevant checkbox. Dolphin will store your passwords securely in your KDE Wallet. For faster access you can insert the username and password directly in the address bar using this format: ftp://username:[email protected]; however we do not recommend this, as it is a security risk. Not only is it visible in your location bar, but it is stored in plain text, and so can be easily read by anyone with access to your home folder. Storing the password in KWallet is much safer, providing you have protected your KWallet with a password.

Other protocols

FTP is just one example of the many different protocols that the KDE platform supports. There is a whole lot more to explore. To see a list of all supported protocols, click on the tick next to the address bar to switch to browse mode...



...and then on the ftp button at the beginning.



The protocol selector should appear similar as shown on the next screenshot. What protocols are avaialble on your system, depends on which KIO plugins you have installed.

Note: Due to KDE bug #55804, files moved or copyed from the local machine to a remote machine via the fish protocol have the wrong timestamps. A workaround is to use SFTP for transfering files to another machine.

Imitate a standalone FTP client using Dolphin

If you want a more standalone-ftp-client like experience you can use Dolphin's split view:



Add a remote folder to your places bar

You can drag and drop a remote folder directly to your places and bookmark it:



Directly access remote files in other KDE applications

As already said previously, nearly every KDE application is capable of accessing remote files and folders. For example, you can open a remote website directly in Kate by inserting the address in the file open dialog:

You can now edit the file in Kate. When you click Save the file will be directly uploaded to the server. That way, you don't need to download files before editing and upload them again after editing.

Changing settings

You probably miss some settings seen in standalone file transfer clients now, such as switching active and passive mode in FTP or timeout settings for your connections. Don't worry, you can find them in System Settings under Network Settings. The Connection Preferences section may be especially useful.