twisted.protocols.ftp.FTP.ftp_STOR(self, path)
method documentationtwisted.protocols.ftp.FTP
View Source
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. |
File was open for reading. Launch the data transfer channel via the file consumer.
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.
Called after the file was opended for reading.
Prepare the data transfer channel and send the response to the command channel.