This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Sends a message to one or more Rocket.Chat WebHooks. | |
.DESCRIPTION | |
This script can be called with parameters in order to send a message to one or more | |
Rocket.Chat webHooks. The text may contain any supported format keywords you can use | |
in the GUI. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from ftplib import FTP | |
from time import sleep | |
import os | |
my_dirs = [] # global | |
my_files = [] # global | |
curdir = '' # global |