this script collects the ccs logs and compresses everything into a zipfile with the devicename as the zipfile name and uploads it on FTP SERVER. for example, if the device name is 'DESK' then it will upload zipfile with the DESK_CCSMlogs.zip.
RUN IT AS LOCALSYSTEM USER
1.give 0 for normal FTP server or give 1 for SFTP server in the FTPorSFTPserver variable for eg: FTPorSFTPserver = 1.
2. give the hostname for the FTP SERVER in the hostname variable. for eg: hostname = "my.storages.abcdef.com"
3. give the username for the FTP SERVER in the username variable. for eg; username = "files-downloads-company-com"
4. give the password for the FTP SERVER in the password variable. for eg; password = "g570f23e-2018-212fw8f123p4567p7-l7g7-55sj
5. give the directory path in the dirpath variable under which you want to upload the CCS Logs in the FTP SERVER. for example, if there is a folder called "CCS Logs" in the FTP server
you can give like this - dirpath = 'CCS Logs'