carrascoacd / ArduinoSIM800L

Arduino HTTP & FTP client for SIM800L/SIM800 boards to perform GET and POST requests to a JSON API as well as FTP uploads.
159 stars 58 forks source link

Update uploadFile #53

Closed fgnievinski closed 2 years ago

fgnievinski commented 2 years ago

avoid long else by adopting "return early" software design pattern: https://medium.com/swlh/return-early-pattern-3d18a41bba8

carrascoacd commented 2 years ago

Thanks 👍