Use passive or active mode for data transfers. With a false argument, use the normal PORT mode, With a true argument, use the PASV command.
(self, val)
| 179 | debug = set_debuglevel |
| 180 | |
| 181 | def set_pasv(self, val): |
| 182 | '''Use passive or active mode for data transfers. |
| 183 | With a false argument, use the normal PORT mode, |
| 184 | With a true argument, use the PASV command.''' |
| 185 | self.passiveserver = val |
| 186 | |
| 187 | # Internal: "sanitize" a string for printing |
| 188 | def sanitize(self, s): |
no outgoing calls