Go to the source code of this file.
Compounds | |
| struct | Directory_entry |
| struct | List_response |
| struct | List_structured_file_response |
| struct | List_structured_response |
| struct | ns__FileTask |
| struct | ns__FileTask_array |
| struct | ns__string_vector |
| struct | Size_response |
| struct | Time_response |
| struct | tns__TcpOptions |
Functions | |
| int | ns__DATACopyFile (xsd__string source_URL, xsd__string dest_URL, int use_parallel, int no_overwrite, int maintain_permissions, xsd__string *response) |
| Copies a single file. | |
| int | ns__DATACopyFileDefaults (xsd__string source_URL, xsd__string dest_URL, xsd__string *response) |
| Copies a file using default parameters. | |
| int | ns__DATAMoveFile (xsd__string source_URL, xsd__string dest_URL, int use_parallel, int no_overwrite, int maintain_permissions, xsd__string *response) |
| Copies a file and then deletes the source. | |
| int | ns__DATAMoveFileDefaults (xsd__string source_URL, xsd__string dest_URL, xsd__string *response) |
| Moves a file using default parameters. | |
| int | ns__DATADeleteFileDefaults (xsd__string in_URL, xsd__string *response) |
| Deletes a file. | |
| int | ns__isAlive (int dump, int *response) |
| Test method. | |
| int | ns__getServiceDescription (void *dump, xsd__string *description) |
| Returns a string description of the service. | |
| int | ns__DATATransferFile (int operation, xsd__string source_URL, xsd__string dest_URL, int use_parallel, int no_overwrite, int maintain_permissions, xsd__string *response) |
| Container method for Copy, Move and Delete. | |
| int | ns__DATAinit_CopyFile (xsd__string source_URL, xsd__string dest_URL, int use_parallel, int no_overwrite, int maintain_permissions, struct ns__FileTask *response) |
| Starts a non-blocking copy operation. | |
| int | ns__DATAinit_MoveFile (xsd__string source_URL, xsd__string dest_URL, int use_parallel, int no_overwrite, int maintain_permissions, struct ns__FileTask *response) |
| Starts a non-blocking move operation. | |
| int | ns__DATAinit_DeleteFile (xsd__string source_URL, struct ns__FileTask *response) |
| Starts a non-blocking delete operation. | |
| int | ns__DATAinit_TransferFile (int operation, xsd__string source_URL, xsd__string dest_URL, int use_parallel, int no_overwrite, int maintain_permissions, struct ns__FileTask *response) |
| container method for non-blocking Copy, Move and Delete. | |
| int | ns__DATArestartFileTask (xsd__long id, struct ns__FileTask *response) |
| Restarts a stopped or otherwise interrupted copy or move operation. | |
| int | ns__DATAgetFileTask (xsd__long id, struct ns__FileTask *response) |
| Returns information about the status of a transfer. | |
| int | ns__DATAwaitFileTask (xsd__long id, struct ns__FileTask *response) |
| Blocks and waits for a transfer to complete. | |
| int | ns__DATAstopFileTask (xsd__long id, struct ns__FileTask *response) |
| Stops a copy or move operation (blocking). | |
| int | ns__DATAdeleteFileTask (xsd__long id, int *response) |
| Deletes information about a transfer. | |
| int | ns__DATAmultipleCopy (struct ns__string_vector in_URLs, xsd__string *response) |
| Copies multiple gridftp files. | |
| int | ns__DATA_FTP_List (char *in_URL, int verbose, int cached, struct List_response *resp) |
| Lists the content of a remote directory. | |
| int | ns__DATAConnectedList (char *in_URL, int verbose, struct List_response *resp) |
| Lists the content of a directory and caches the connection to the GridFTP server. | |
| int | ns__DATA_FTP_SimpleList (char *in_URL, int cached, struct List_response *resp) |
| Lists the content of a directory returning a list of entries in that directory. | |
| int | ns__DATA_FTP_VerboseList (char *in_URL, int cached, struct List_response *resp) |
| Lists the content of a directory returning a detailed listing (ls -l) of entries in that directory. | |
| int | ns__DATA_FTP_MachineListDirectory (char *in_URL, int cached, struct List_response *resp) |
| Lists the content of a directory using machine list (MLSD). Doesn't work for files (use ns__DATA_FTP_MachineListFile). | |
| int | ns__DATA_FTP_MachineListFile (char *in_URL, int cached, struct List_response *resp) |
| Returns the facts for a directory entry using machine list (MLST). | |
| int | ns__DATA_FTP_StructuredMachineListDirectory (char *in_URL, int cached, struct List_structured_response *resp) |
| Lists and parses the content of a directory. | |
| int | ns__DATA_FTP_StructuredMachineListFile (char *in_URL, int cached, struct List_structured_file_response *resp) |
| Lists and parses the content of a directory entry listing. | |
| int | ns__DATA_FTP_Mkdir (char *in_URL, int cached, char **resp) |
| Creates a directory on a remote site. | |
| int | ns__DATAConnectedMkdir (char *in_URL, char **resp) |
| Creates a directory on a remote site. | |
| int | ns__DATA_FTP_ModTime (char *in_URL, int cached, struct Time_response *resp) |
| Returns the modification time of a directory entry. | |
| int | ns__DATAConnectedModTime (char *in_URL, struct Time_response *resp) |
| Returns the modification time of a directory entry. | |
| int | ns__DATA_FTP_Size (char *in_URL, int cached, struct Size_response *resp) |
| Returns the size of a file. | |
| int | ns__DATAConnectedSize (char *in_URL, struct Size_response *resp) |
| Returns the size of a file. | |
| int | ns__DATA_FTP_Delete (char *in_URL, int cached, char **resp) |
| Deletes a remote file. | |
| int | ns__DATA_FTP_Exists (char *in_URL, int cached, char **resp) |
| Checks if a remote file exists. If not, it will return an error. If yes, the return code will be 200 OK. | |
| int | ns__DATA_FTP_Chmod (char *in_URL, int mode, int cached, char **resp) |
| Sets (if possible) the Unix file mode of a remote file. | |
| int | ns__DATAStopCache (void *dump, char **response) |
| Destroys the data structure that was used to cache the GridFTP connections. | |
Variables | |
| Directory_entry * | __ptr |
| int | __size |
GridLab File Service include file used for generating server and client stubs with gsoap
Copyright (C) Andrei Hutanu, ZIB
This code is released under the GridLab license available from http://www.gridlab.org/Resources/GLlicense.pdf
Definition in file data_movement_gass.hh.
|
||||||||||||||||||||
|
Sets (if possible) the Unix file mode of a remote file.
|
|
||||||||||||||||
|
Deletes a remote file.
|
|
||||||||||||||||
|
Checks if a remote file exists. If not, it will return an error. If yes, the return code will be 200 OK.
|
|
||||||||||||||||||||
|
Lists the content of a remote directory. If caching is desired, when called for the first time, this method initiates a cached connection to the GridFTP server if possible. That connection will be used for all the following operations until the StopCache method is called. Also, the service will not cache more than a fixed number of connections at one time.
|
|
||||||||||||||||
|
Lists the content of a directory using machine list (MLSD). Doesn't work for files (use ns__DATA_FTP_MachineListFile).
|
|
||||||||||||||||
|
Returns the facts for a directory entry using machine list (MLST).
|
|
||||||||||||||||
|
Creates a directory on a remote site. Returns the error message.
|
|
||||||||||||||||
|
Returns the modification time of a directory entry. Returns the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds.
|
|
||||||||||||||||
|
Lists the content of a directory returning a list of entries in that directory.
|
|
||||||||||||||||
|
Returns the size of a file. Returns the file size in bytes.
|
|
||||||||||||||||
|
Lists and parses the content of a directory. This method provides a structured response to a machine directory listing. The text returned by the server is parsed and separated in directory entries. A cached connection will be used or initiated for this operation if cached is set to 1 Doesn't work for single files (use ns__DATA_FTP_StructuredMachineListFile)
|
|
||||||||||||||||
|
Lists and parses the content of a directory entry listing. This method provides a structured response to a machine listing of a file A cached connection will be used or initiated for this operation if cached is set to 1
|
|
||||||||||||||||
|
Lists the content of a directory returning a detailed listing (ls -l) of entries in that directory.
|
|
||||||||||||||||
|
Lists the content of a directory and caches the connection to the GridFTP server.
|
|
||||||||||||
|
Creates a directory on a remote site. Returns the error message. A cached connection will be used or initiated for this operation.
|
|
||||||||||||
|
Returns the modification time of a directory entry. Returns the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds. A cached connection will be used or initiated for this operation.
|
|
||||||||||||
|
Returns the size of a file. Returns the file size in bytes. A cached connection will be used or initiated for this operation.
|
|
||||||||||||||||||||||||||||
|
Copies a single file. This method blocks until the operation is completed (with success or failure)
|
|
||||||||||||||||
|
Copies a file using default parameters. This method blocks until the operation is completed (with success or failure) The defaults are : true for use_parallel, false for no_overwrite and true for maintain_permissions
|
|
||||||||||||
|
Deletes a file. This method blocks until the operation is completed (with success or failure)
|
|
||||||||||||
|
Deletes information about a transfer. The transfer should have been initiated with one of the init methods. This method stops the transfer if in prgress. After delete is called, the information about the transfer will be erased and the id will be reused. This method should always be called after the transfer is completed so that the memory on the machine that runs the service can be freed.
|
|
||||||||||||
|
Returns information about the status of a transfer. The transfer should have been initiated with one of the init methods. The method returns immediately.
|
|
||||||||||||||||||||||||||||
|
Starts a non-blocking copy operation. Non-blocking operations have similar parameters with the blocking versions. Every non-bocking operation is handled by a separate thread.
|
|
||||||||||||
|
Starts a non-blocking delete operation.
|
|
||||||||||||||||||||||||||||
|
Starts a non-blocking move operation.
|
|
||||||||||||||||||||||||||||||||
|
container method for non-blocking Copy, Move and Delete.
|
|
||||||||||||||||||||||||||||
|
Copies a file and then deletes the source. This method blocks until the operation is completed (with success or failure)
|
|
||||||||||||||||
|
Moves a file using default parameters. This method blocks until the operation is completed (with success or failure) The defaults are currently true for use_parallel, false for no_overwrite and true for maintain_permissions
|
|
||||||||||||
|
Copies multiple gridftp files. This method is useful for copying a large number of (small) gridftp files The service will cache the connections to the gridftp servers between he transfers so that the authentification overhead occurs only once.
|
|
||||||||||||
|
Restarts a stopped or otherwise interrupted copy or move operation. The transfer should have been initiated with one of the init methods. If the operation was interrupted with stopFileTask or by a transient network error and the service was able to save a restart marker before that, the operation is resumed using this call. If the transfer was not interupted (it failed from the beginning) or it was interrupted too early (no restart marker was saved) then the transfer cannot be resumed.
|
|
||||||||||||
|
Destroys the data structure that was used to cache the GridFTP connections. This method deletes the client handle, cached for the user connecting to the service. This removes all cached connections for that user. The method should be used when the user does not need to make any other cached operations to free the memory.
|
|
||||||||||||
|
Stops a copy or move operation (blocking). The transfer should have been initiated with one of the init methods. This methods interrupts (if possible) the transfer. Useful for large file transfers. The operation may be resumed using restartFileTask
|
|
||||||||||||||||||||||||||||||||
|
Container method for Copy, Move and Delete. This method makes calls to Copy, Move or Delete depending on the operation type. The other parameters are forwarded This method blocks until the operation is completed (with success or failure)
|
|
||||||||||||
|
Blocks and waits for a transfer to complete. The transfer should have been initiated with one of the init methods. This method waits for that transfer to end or if the transfer was already finished it returns immediately.
|
|
||||||||||||
|
Returns a string description of the service.
|
|
||||||||||||
|
Test method. Returns 1 (used to see if the service is running)
|
|
|
pointer to directory entries |
|
|
vector size Definition at line 541 of file data_movement_gass.hh. |
1.2.18