FTP Daemon Overview and ConceptsPurposeThe File Transfer Protocol (FTP) daemon is a server-side implementation of FTP, which processes file transfer requests from an FTP client. The FTP daemon processes file transfer requests from multiple FTP clients. It enables remote host that are capable of using the standard IP stack to communicate with a Symbian platform device. Besides processing file transfer requests, the daemon also enables a remote host to perform the following tasks on the device:
Note: The commands used to perform the tasks listed earlier depends on the FTP client you are using and not on the FTP daemon. For information about the commands supported by the FTP client you are using, refer to its documentation. Key concepts
How the FTP daemon worksThe following illustration shows how remote PCs using an FTP client send requests to the FTP daemon running on the Symbian platform device. Typical usesTransferring a fileYou can request a file transfer between the host terminal and the user terminal. To send a file transfer request, the user terminal must open an FTP session with the host terminal. For example, use the following FTP command to store a file on the host terminal:
Use the following FTP command to retrieve a file from the host terminal:
Listing the files and subdirectoriesYou can list the files and subdirectories in a given directory on the device with their attributes. To do this, open an FTP session and use the following command to list the files and subdirectories in the current working directory:
To list only the name of the files in a given directory, use the following command:
Renaming or moving a fileYou can rename a file or move it to another location on the Symbian platform device. After opening an FTP session with the host terminal, use the following commands to rename a file:
Deleting a file or directoryYou can delete a file or an empty directory from the host terminal. To delete a file, use the following command:
To delete an empty directory, use the following command:
Copyright ©2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: SFL
|