module filehelper.ftp_transfer_mock

Inheritance diagram of pyquickhelper.filehelper.ftp_transfer_mock

Short summary

module pyquickhelper.filehelper.ftp_transfer_mock

Mock class TransferFTP

source on GitHub

Classes

class

truncated documentation

MockTransferFTP

mock TransferFTP

Properties

property

truncated documentation

Site

return the website

Methods

method

truncated documentation

__init__

same signature as TransferFTP

close

does noting

transfer

does nothing, returns True

Documentation

Mock class TransferFTP

source on GitHub

class pyquickhelper.filehelper.ftp_transfer_mock.MockTransferFTP(site, login, password, fLOG=<function noLOG>, ftps='FTP')[source]

Bases: TransferFTP

mock TransferFTP

source on GitHub

same signature as TransferFTP

source on GitHub

__init__(site, login, password, fLOG=<function noLOG>, ftps='FTP')[source]

same signature as TransferFTP

source on GitHub

close()[source]

does noting

source on GitHub

transfer(file, to, name, debug=False, blocksize=None, callback=None)[source]

does nothing, returns True

source on GitHub