pscp no such file or directory
背景:在WINDOWS10 上传一个文件 到 Centos 7中
工具:pscp
用法:
pscp.exe -C e:\tinyfox\site\wwwroot\cdms\projecttemplate\welcome.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:\tinyfox\site\wwwroot\cdms\projecttemplate\welcome.html root@***.***.***.***:/home/tinyfox/site/wwwroot/cdms/projectTemplate/welcome.html(***为IP地址)
pscp no such file or directory的更多相关文章
- Git异常:fatal: could not create work tree dir 'XXX': No such file or directory
		
GitHub实战系列汇总:http://www.cnblogs.com/dunitian/p/5038719.html ———————————————————————————————————————— ...
 - Warning: mysql_connect(): No such file or directory 解决方案总结(操作系统: Mac)
		
说明: 本文主要内容参考: Mac下PHP连接MySQL报错"No such file or directory"的解决办法, 并进行个人补充 1. 运行环境: Mac OS X 10.11.4 (M ...
 - python3: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory
		
安装python3遇到报错: wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz ./configure --prefix=/u ...
 - Mac 配置 php-fpm 时出现'/private/etc/php-fpm.conf': No such file or directory (2)
		
https://github.com/musicode/test/issues/5 Mac 自带 php-fpm,在终端执行 php-fpm,会报如下错误: ERROR: failed to open ...
 - tar 解压bz2报错 Cannot exec: No such file or directory
		
tar: bzip2: Cannot exec: No such file or directorytar: Error is not recoverable: exiting now 需要安装bzi ...
 - locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory
		
# locate zabbix locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory locate ...
 - 安卓开发error opening trace file: No such file or directory (2)报错原因
		
error opening trace file: No such file or directory (2) 这个问题的出现是因为运行的测试机android系统版本和项目api不一致导致. 改成一样 ...
 - (转)win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
		
原文地址:http://www.cnblogs.com/fnng/p/4115607.html 作者:虫师 今天想在在win7 64位环境下使用python 操作mysql 在安装MySQL-pyth ...
 - error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
		
zabbix3.2启动有如下报错: # service zabbix_server startStarting zabbix_server: /home/zabbix-server/sbin/zab ...
 
随机推荐
- 树莓派 Learning 003 --- GPIO 000 --- GPIO引脚图
			
树莓派 Learning 003 - GPIO 000 - GPIO引脚图 我的树莓派型号:Raspberry Pi 2 Model B V1.1 装机系统:NOOBS v1.9.2 Raspberr ...
 - HTable基本概念
			
出处:http://www.taobaotest.com/blogs/1582 引言 团队中使用HBase的项目多了起来,对于业务人员而言,通常并不需要从头搭建.维护一套HBase的集群环境,对于其架 ...
 - 并行fp-growth图解(mahout)
			
FP-growth Apriori算法的一个主要瓶颈在于,为了获得较长的频繁模式,需要生成大量的候选短频繁模式.FP-Growth算法是针对这个瓶颈提出来的全新的一种算法模式.目前,在数据挖掘领域,A ...
 - 5、预测和鉴定miRNA的靶基因
			
转载:http://www.oebiotech.com/Article/mirnabjyyc.html http://www.ebiotrade.com/newsf/2014-9/2014925941 ...
 - 面试题17:打印1到最大的n位数
			
// 面试题17:打印1到最大的n位数 // 题目:输入数字n,按顺序打印出从1最大的n位十进制数.比如输入3,则 // 打印出1.2.3一直到最大的3位数即999. 解题思路: 首先是一个大陷阱,n ...
 - redis系列:通过日志案例学习string命令
			
前言 该文章将通过一个小demo将讲述Redis中的string类型命令.demo将以springboot为后台框架快速开发,iview前端框架进行简单的页面设计,为了方便就不使用DB存储数据了,直接 ...
 - 字符串中去除多余的空格保留一个(MS SQL Server)
			
大约2年前,写过一篇<字符串中去除多余的空格保留一个(C#)>https://www.cnblogs.com/insus/p/7954151.html 今天,Insus.NET使用MS S ...
 - 初等变换求 |A| % Mod & A- % Mod & A* % Mod(模板)
			
// |A| * A- = A* (伴随矩阵) = 逆矩阵 * 矩阵的值 #include<cstdio> #include<cstring> #include<cstd ...
 - InfoQ —— 百度搜索速度优化
			
本篇源自InfoQ —— <百度搜索速度优化> 好多名词不了解... 相关文档下载链接 背景 许霞,毕业于浙江大学.08年加入百度运维部. 本篇讲座主要讲述百度关于速度的优化,包括PC端和 ...
 - webstorm运行less文件
			
在编写css代码时,使用less能提高我们编程得效率. Less 是一门 CSS 预处理语言,它扩充了 CSS 语言,增加了诸如变量.混合(mixin).函数等功能,让 CSS 更易维护.方便制作主题 ...