Ticket #5045: 5045-ftp-mark-1.diff

File 5045-ftp-mark-1.diff, 850 bytes (added by adiroiban, 3 years ago)
  • twisted/protocols/ftp.py

     
    3636# constants 
    3737# response codes 
    3838 
    39 RESTART_MARKER_REPLY                    = "100" 
    4039SERVICE_READY_IN_N_MINUTES              = "120" 
    4140DATA_CNX_ALREADY_OPEN_START_XFR         = "125" 
    4241FILE_STATUS_OK_OPEN_DATA_CNX            = "150" 
     
    10099 
    101100RESPONSE = { 
    102101    # -- 100's -- 
    103     RESTART_MARKER_REPLY:               '110 MARK yyyy-mmmm', # TODO: this must be fixed 
    104102    SERVICE_READY_IN_N_MINUTES:         '120 service ready in %s minutes', 
    105103    DATA_CNX_ALREADY_OPEN_START_XFR:    '125 Data connection already open, starting transfer', 
    106104    FILE_STATUS_OK_OPEN_DATA_CNX:       '150 File status okay; about to open data connection.',