Skip to content

Instantly share code, notes, and snippets.

Avatar

Eduardo Pinto poingg

View GitHub Profile
@poingg
poingg / skitchftpserver.py
Last active Dec 12, 2015
Simple hack to have a local FTP that allows Skitch to post files to CloudPT
View skitchftpserver.py
# Edit these only
# Where do you want your files?
MYCUSTOMDOMAIN_URI = 'http://example.com/Skitch'
MYLOCALFOLDER = '/Users/myhomedir/CloudPT/sites/example.com/Skitch'
# Don't touch below
from pyftpdlib import ftpserver
import httplib, time, os
from urlparse import urlparse
You can’t perform that action at this time.