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][source]

Bases: pyquickhelper.filehelper.ftp_transfer.TransferFTP

mock TransferFTP

source on GitHub

same signature as TransferFTP

source on GitHub

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

same signature as TransferFTP

source on GitHub

close()[source][source]

does noting

source on GitHub

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

does nothing, returns True

source on GitHub