Skip to content

Instantly share code, notes, and snippets.

Working from home

Tchekda Tchekda

Working from home
View GitHub Profile
Tchekda /
Created Jan 24, 2021
Apartement Searcher
import requests
import re
import json
import time
import urllib.parse
import logging
import sys
def countSite(url, regex, name):
Tchekda / FTPRecursiveFolderUpload.php
Last active Jun 26, 2019
Upload Folder with SubFolders to remote FTP Server
View FTPRecursiveFolderUpload.php
error_reporting(E_ERROR | E_PARSE);
//Define vars
$ftp_server = getenv('server'); // As
$ftp_user_name = getenv('user'); // As user
$ftp_password = getenv('password'); //As password
$remoteDir = getenv('remoteDir'); // As /home/user/ftp/ WITH the last slash!!