简体   繁体   中英

Transferring files to IIS (attempted using PHPStorm & Finder)

I have a working local copy of a simple website I would like to deploy to an IIS (Internet Information Server) running on my local network. Running on my computer on MAMP, everything works perfectly. However, after I try to upload all the files to the web server and load the index.html it fails to GET many different files necessary to load the page. Here is an example error line in the console:

GET http://WEBSITE.com/scripts/bootstrap-wizard-custom.js 403 (Forbidden)

Here the methods I have tried to upload files to the live server:

  1. Using CMD+K in Finder, connecting to the live server with an address like smb://webserver , and then simply dragging files from my local folder to the wwwroot folder.
  2. Using PHPStorm (on Windows), selecting the mapped network folder as my workspace, and then "Deploying" all the files to the server by clicking an "Upload to [webserver]" button.

What is the best way to go about transferring these files from my local machine to a web server on the same network?

It turns out it was a permissions problem. After some permission changing, it now works. Fixed!

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