简体   繁体   中英

How do I view the files on my server?

I am developing a web application using Laravel. I am using Laravel Forge with a Linode server and GitHub. My site is live at the moment. Whenever I change the code, I commit the changes using GitHub for Windows and then deploy the website on Laravel Forge.

One part of my application allows a user to upload a file. This works grand. I can upload a file and then download it from another computer on the website. However, I am not sure how to view the files on my server. They are not appearing on GitHub, and I cannot see anywhere on Laravel Forge to locate these files.

Anyone have any ideas?

The files are definitely there as I said, I can download and view the files once they are uploaded. I am storing them in a files folder in my public directory.

I guess your problem is that the versioner(Git) is ignoring your files. Verify that where your files are stored and that the .gitignore files in each folder do not ignore them

*
/ Storage_path
Storage_file.extension
*.extension

Modify your corresponding .gitignore files and then commit everything

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM