Transferències de fitxers

From KDE UserBase Wiki
Revision as of 18:44, 5 April 2011 by Abella (talk | contribs) (Created page with "El KDE SC no inclou un client FTP estàndard com pot ser coneixeu per a altres plataformes. Hi ha algunes aplicacions de tercers com [http://kasablanca.berlios.de Kasablanca] o [...")

Introducció

En aquest tutorial es descriu com transferir fitxers des de i cap a un servidor remot utilitzant el KDE Software Compilation. Això podria significar la descàrrega d'un fitxer des d'un servidor FTP o desar un fitxer a través de SSH.

El KDE SC no inclou un client FTP estàndard com pot ser coneixeu per a altres plataformes. Hi ha algunes aplicacions de tercers com Kasablanca o KFTPgrabber però encara no han estat totalment adaptats a la plataforma KDE 4. No obstant això hi ha una bona notícia: No necessiteu una aplicació d'aquest tipus per a gestionar fitxers en els vostres servidors remots. La plataforma KDE disposa d'una tècnica molt més potent per fer front a aquestes situacions.

Transferències de fitxers bàsica

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.

Connectar a un servidor FTP

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.

Altres 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 available on your system, depends on which KIO plugins you have installed.

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

Imitar a un client FTP exclusiu usant Dolphin

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



Afegir una carpeta remota a la barra de llocs

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



Accés directe a fitxers remots en altres aplicacions KDE

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.

Canviar la configuració

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.