有没有使用计划任务里FTP备份的说明?
不知如何设置,一直报错。
连接FTP失败,请检查是否正确设置FTP登陆信息!Traceback (most recent call last): File "/www/server/panel/plugin/ftp/ftp_main.py", line 237, in data = backup.backupDatabase(sys.argv[2], sys.argv[3]) File "/www/server/panel/plugin/ftp/ftp_main.py", line 123, in backupDatabase self.updateFtp(filename); File "/www/server/panel/plugin/ftp/ftp_main.py", line 178, in updateFtp ftp.storbinary('STOR %s' % os.path.basename(filename),file_handler,bufsize)AttributeError: 'dict' object has no attribute 'storbinary'
|
|