Connecting via FTP on a business modeling platform — MODLR

  • Create a new FTP connection (we use model variables so we can keep this clean)
  • Check if the connection was successful and transfer file
if (client.IsConnected()) {// Transfer file
var result = client.Upload('WeeklyReport.csv', '/var/www/html/weekly-reports/');
//returns a boolean based on the result
} else {
//send a sms notification using notifications.sms
}

--

--

--

Backend developer from Berlin, building https://arbeitnow.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

HIGH AVAILABILITY ARCHITECTURE WITH AWS CLI

Move Fast & *Don’t* Break Things

Raspberry pi 4 case — acrylic clear

Am I physically set-up for success?

8 Home Management Software Tools for Landlords and Property Managers

Propertyware

Master Mac/Linux Terminal Shortcuts Like a Ninja

Ninjas

UI beta testing on Kovan with DegenScore is LIVE! Docs are open.

Develop a Simple URL Shortener Using Microservices Architecture

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adithya

Adithya

Backend developer from Berlin, building https://arbeitnow.com/

More from Medium

Data Science VS Business Analytics — Business analytics wins!

What is Inventory Planning and why should SMBs be doing it?

What is Inventory Planning and why should SMBs be doing it?

Top Data Analytics Projects

How I discovered the “aha moment” for an SaaS platform