#include "globus_common.h"
#include "ftp_demo.h"
#include <stdio.h>
#include <time.h>
Functions | |
| int | ftp_demo_load_state ( ftp_demo_config_t * demo_config) |
| Read state information file. More... | |
| int | ftp_demo_store_state ( ftp_demo_config_t * demo_config) |
| Store state information to a file. More... | |
| int | ftp_demo_delete_state ( ftp_demo_config_t * demo_config) |
| Delete state information file. More... | |
|
|
Delete state information file. This function attempts to delete the state information file. If no state file was defined by the application, then nothing is done.
|
|
|
Read state information file. This function attempts to read the state file. If no state file was defined by the application, then nothing is done. If the state file was requested, but does not exist, then a new one is created.
|
|
|
Store state information to a file. This function attempts to store the changing information from the demo_config to the state file. If no state file was defined by the application, then nothing is done. If the state file does not exist, a new one is created. In creating the file, a unique transfer_id prefix is generated, as well as a starting timestamp. These are used by some of the application's plugins.
|