LocalFileServer Class Reference

Inheritance diagram for LocalFileServer:
FileServer

List of all members.

Public Member Functions

QStringList getFileInfoLabels ()
 Returns the column names in the file list (name, size, last change date...). Allows different protocols to display their own info.
void updateFileList (QString URL)
 Reads a new list of files from the server to the filelist.
QVector< ARCFileElement > & getFileList ()
 Return a reference to the filelist.
bool goUpOneFolder ()
 Go up one folder in the folder structure (cd ..).
QString getCurrentURL ()
 Get current URL (== file protocol + path).
QString getCurrentPath ()
 Get current path.
bool copyFromServer (QString sourcePath, QString destinationPath)
 Copy a file from the server to a local disk.
bool copyToServer (QString sourcePath, QString destinationPath)
 Copy a file from local disk to server.
bool copyToServer (QList< QUrl > &urlList, QString destinationPath)
 Copy a list of files from local disk to server.
bool deleteItem (QString path)
 Delete a file from the server.
bool makeDir (QString path)
 Create a folder on the server.
unsigned int getFilePermissions (QString path)
 Get file permissions.
void setFilePermissions (QString path, unsigned int permissions)
 Set file permissions.
bool deleteItems (QStringList &paths)
 Delete several files from the server.

The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on 19 Feb 2013 for ARC Graphical Clients by  doxygen 1.6.1