Heroku's php version is 7.3. When I tried to upload any file from my app(deployed in heroku) to ftp it gives this error - Use of undefined constant FTP_BINARY - assumed 'FTP_BINARY' (this will throw an Error in a future version of PHP) in FilesystemManager.php. But in localhost where php version is 7, it works fine.What need to be done to solve this error? I have seen a similar question here, PHP 7.0.5: Use of undefined constant FTP_BINARY - assumed 'FTP_BINARY'
but the answer was applied to a windows OS and I am a little lost how to implement the solution in heroku cloud ie to turn on ftp in the php version according to the accepted answer.