File transfers/zh-tw: Difference between revisions
m (Created page with "==連接到 FTP 伺務器==") |
m (Created page with "要連接到 FTP 服務器,只需要打開 '''Dolphin''',點擊地址欄中空出來的地方。輸入服務器地址進地址欄。不要忘了開頭的 ftp:// :") |
||
Line 12: | Line 12: | ||
==連接到 FTP 伺務器== | ==連接到 FTP 伺務器== | ||
要連接到 FTP 服務器,只需要打開 '''Dolphin''',點擊地址欄中空出來的地方。輸入服務器地址進地址欄。不要忘了開頭的 ftp:// : | |||
Revision as of 12:21, 7 October 2010
介紹
這份指南描述如何用 KDE 軟體匯集(Software Compilation)跟遠程服務器進行文件傳輸。從 FTP 服務器下載文件或是通過 SSH 保存文件。
KDE SC 並沒有包含你可能在其他平台看到的標準FTP 客戶端。有一些第三方的程序像是Kasablanca 或 KFTPgrabber,但它們還沒完全遷移到 KDE 開發平台4(KDE Platform 4)。好消息是你不需要那樣的程序來管理遠程服務器上的文件。 KDE 平台(KDE platform)擁有更強大的技術來處理這種情況。
基本文件傳輸
幾乎所有 KDE 程序都能用來連接到遠程服務器。你可以根據任務要求使用適合的程序。比如,如果你想要瀏覽器遠程服務器,最好的選擇就是 Dolphin 或 Konqueror。要編輯網頁,你可以無需單獨的FTP 服務器直接用Quanta。這裡的例子中,我們會用 Dolphin,通過FTP 傳輸文件。
連接到 FTP 伺務器
要連接到 FTP 服務器,只需要打開 Dolphin,點擊地址欄中空出來的地方。輸入服務器地址進地址欄。不要忘了開頭的 ftp:// :
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 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.
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
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 . The section may be especially useful.