STORE (STOR)

This command causes the server-DTP to accept the data transferred via the data connection and to store the data as a file at the server site. If the file specified in the pathname exists at the server site, then its contents shall be replaced by the data being transferred. A new file is created at the server site if the file specified in the pathname does not already exist.

Function enableTimeout Undocumented
Function cbOpened File was open for reading. Launch the data transfer channel via the file consumer.
Function ebOpened Called when failed to open the file for reading.
Function cbConsumer Called after the file was opended for reading.
Function cbSent Called from data transport when tranfer is done.
Function ebSent Called from data transport when there are errors during the transfer.
def enableTimeout(result): (source)
Undocumented
def cbOpened(file): (source)

File was open for reading. Launch the data transfer channel via the file consumer.

def ebOpened(err): (source)

Called when failed to open the file for reading.

For known errors, return the FTP error code. For all other, return a file not found error.

def cbConsumer(cons): (source)

Called after the file was opended for reading.

Prepare the data transfer channel and send the response to the command channel.

def cbSent(result): (source)

Called from data transport when tranfer is done.

def ebSent(err): (source)

Called from data transport when there are errors during the transfer.

API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.