Support the ongoing development of Laravel.io →
posted 10 years ago
Forms
Last updated 2 years ago.
0

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

davidxd33 davidxd33 Joined 29 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.