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 | |
# -*- 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>" |
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
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 |