A colleague and I had a similar situation where there was no error but the file just didn't show up on the server we were putting to. It turned out that the second argument to put() needed to be an exact file name rather than just a path. (I.e. instead /var/www/html/site/public/tests, you need /var/www/html/site/public/tests/myremotefilename). The documentation at https://laravelcollective.com/docs/master/ssh#sftp-uploads doesn't make that clear in my opinion.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community