zoukankan      html  css  js  c++  java
  • pscp no such file or directory

    背景:在WINDOWS10 上传一个文件 到 Centos 7中  

    工具:pscp

    用法:

    pscp.exe -C e: inyfoxsitewwwrootcdmsprojecttemplatewelcome.html root@***.***.***.***:/home/tinyfox/site/wwwroot/cdms/projecttemplate/welcome.html(***为IP地址)

    错误提示: no such file or directory

    ==========================================

    错误已经提示很明白,没有该文件或文件夹,

    可是我的文件夹都是对的啊!

    可这是什么呢?

    原因:WINDOWS中文件夹的名称大小写可以识别到,而 CENTOS 7 里  文件夹必须完全一致,特别是大小写

    机关在: projectTemplate 文件夹

    我的windows 10 里也是 projectTemplate 但上传时,所有的字母小写可以识别的,但在Centos 7 不能识别。即应该改成这样:

    pscp.exe -C e: inyfoxsitewwwrootcdmsprojecttemplatewelcome.html root@***.***.***.***:/home/tinyfox/site/wwwroot/cdms/projectTemplate/welcome.html(***为IP地址)

  • 相关阅读:
    线程
    unix架构
    Unix命令
    可重入函数reentrant function
    Eclipse 中 program arguments 与 VM arguments 的区别
    Java中Generics的使用
    Java的Reflection机制
    Java按值传递、按引用传递
    Java label
    LeetCode Merge Intervals
  • 原文地址:https://www.cnblogs.com/ssqhan/p/9689417.html
Copyright © 2011-2022 走看看