Skip to content

Instantly share code, notes, and snippets.

View sckaiser's full-sized avatar

sckaiser

  • Bay Area
View GitHub Profile
@sckaiser
sckaiser / gist:5a685084c065e9398c2b
Created December 1, 2015 17:33
Shell command to download a file from box.com
curl -1 --disable-epsv --ftp-skip-pasv-ip -u name@domain.com:mypassword --ftp-ssl –P 990 ftps://ftp.box.com/somedir/test.csv > /test.csv
@sckaiser
sckaiser / gist:d118f0f8a5b10eb2585c
Last active February 8, 2016 23:27 — forked from tonosaman/gist:2892315
SalesForce Report CSV downloader
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from mechanize import Browser
from urllib2 import quote
import re
def fetch_sf_csv(report_id):
login_uri = "https://login.salesforce.com"
username = "example@salesforce.com"
password = "<your-password>"