Skip to content

Instantly share code, notes, and snippets.

@TheReal1604
TheReal1604 / recurse_ftp.py
Created February 2, 2018 14:52 — forked from flibbertigibbet/recurse_ftp.py
Recursively fetch files from an FTP server directory. Here, it's downloading all the zip files found in or beneath the parent directory.
#!/usr/bin/env python
from ftplib import FTP
from time import sleep
import os
my_dirs = [] # global
my_files = [] # global
curdir = '' # global
@TheReal1604
TheReal1604 / Rocket_Chat_Send_Message.ps1
Created January 15, 2018 07:37 — forked from MauriceBrg/Rocket_Chat_Send_Message.ps1
PowerShell-Script that sends any text to one or more Rocket.Chat Webhooks. Do with this what you like.
<#
.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.