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
load 'ftp_sync.rb' # use this library -> https://github.com/ashchan/ftpsync | |
require 'sinatra' | |
# Here you set global ip of your vps | |
set :bind, '0.0.0.0' | |
# Here you set port | |
set :port, '80' | |
# here you set FTP host | |
host = 'example.com' |