Folders uploading in Prepros

白昼怎懂夜的黑 提交于 2019-12-06 08:47:37

问题


I'm making a new folder and place some files in it. When I'm trying to upload that new folder via FTP prepros shows an error (No such file or directory). As I understand it doesn't make that new folder and trying just to upload all file inside the folder. Why does this happen? (I'm using Prepros v6.0.5)


回答1:


While a little late, it's obvious this problem still exists I was trying to upload from the "dist" folder, bur was getting told the file doesn't exist and noticed it was looking for a dist folder When I changed the name of the dist folder to the same as the target folder everything went OK

I was aiming for /var/www/website/html the files I was trying to upload were in ../../dist on my desktop I change "dist" to "html" and deleted the html folder on the server I then targeted... /var/www/website A new html folder with the files I was uploading was created inside the website folder In brief: Target the parent directory of the directory you want to create Change the name of you local dist folder to the name of the directory you want to create on your server

  • local folder: html/index.html
  • remote path: /var/www/website
  • result: /var/www/website/html/index.html

p.s. Sorry for being long winded



来源:https://stackoverflow.com/questions/41791734/folders-uploading-in-prepros

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!