---
name: "iftpstream"
section: "3cc"
platform: "linux"
package: "libcommoncpp2-dev"
version: "1.0.13-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/iftpstream"
---

# iftpstream(3cc)

iftpstream is a inputstream from a remote file

## NAME

iftpstream - iftpstream is a inputstream from a remote file

## SYNOPSIS

`#include <ftp.h>`

Inherits **tcpstream**.

### Public Methods

**iftpstream** (**FTPSocket** &f, string rfilename, int buffer=512, **timeout\_t** to=0)\
 *constructor; opens file rfilename on ftpserver* **~iftpstream** ()\
 *destructor; ends filetransfer* void **close** ()\
 *ends filetransfer*

### Protected Attributes

**FTPSocket** & **ftpref**\

## DETAILED DESCRIPTION

iftpstream is a inputstream from a remote file

## CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

### iftpstream::iftpstream (FTPSocket & f, string rfilename, int buffer = 512, timeout\_t to = 0)

constructor; opens file rfilename on ftpserver

### iftpstream::~iftpstream ()` [inline]`

destructor; ends filetransfer

## MEMBER FUNCTION DOCUMENTATION

### void iftpstream::close ()

ends filetransfer

Reimplemented from **tcpstream**.

## MEMBER DATA DOCUMENTATION

### FTPSocket& iftpstream::ftpref` [protected]`

## AUTHOR

Generated automatically by Doxygen for CommonC++ from the source code.
