#include <file_xfer.h>


Public Member Functions | |
| FILE_XFER () | |
| ~FILE_XFER () | |
| int | parse_upload_response (double &offset) |
| int | init_download (FILE_INFO &) |
| int | init_upload (FILE_INFO &) |
Public Attributes | |
| FILE_INFO * | fip |
| char | pathname [256] |
| char | header [4096] |
| bool | file_size_query |
| bool | is_upload |
| double | starting_size |
| bool | file_xfer_done |
| int | file_xfer_retval |
| FILE_XFER::FILE_XFER | ( | ) |
| FILE_XFER::~FILE_XFER | ( | ) |
| int FILE_XFER::parse_upload_response | ( | double & | offset | ) |


| int FILE_XFER::init_download | ( | FILE_INFO & | file_info | ) |


| int FILE_XFER::init_upload | ( | FILE_INFO & | file_info | ) |


| char FILE_XFER::pathname[256] |
| char FILE_XFER::header[4096] |
| bool FILE_XFER::is_upload |
| double FILE_XFER::starting_size |
File size at start of transfer, used for: 1) a "minimum download increment" that rejects partial downloads of less than 5K, since these may be error messages from proxies. 2) lets us recover when server ignored Range request and sent us whole file
1.5.6