kadi.occweb.ftp_put_to_lucky#
- kadi.occweb.ftp_put_to_lucky(ftp_dirname, local_files, user=None, logger=None)#
Put the
local_filesonto lucky in /user/ftp_dirname.First put it at the top level, then when complete move it into a subdir eng_archive. This lets the OCC side just watch for fully-uploaded files in that directory.
The directory paths of
local_filesare stripped off so they all wind up in a flat structure withinftp_dirname.