[英]Error “Magic number checking on storable file failed” when Storable file transferred through SCP
I had a basic code where it stores a hash in a file. 我有一个基本代码,在其中将哈希存储在文件中。
store \%hash 'file';
retrieve ('file');
The difference is, the file is transferred to a different machine through SCP and retrieved there. 区别在于,文件通过SCP传输到另一台计算机并在那里进行检索。 While retrieval, I get this error "Magic number checking on storable file failed".
检索时,出现此错误“对可存储文件的魔术数检查失败”。 I tried "nstore" too, but that too failed with the same error.
我也尝试过“ nstore”,但是由于同样的错误也失败了。
Is SCP the culprit in corrupting file or something? SCP是破坏文件之类的罪魁祸首吗? I looked at the file it looks same to me though!
我看了看它对我来说还是一样的文件! Is there anything i need to take care specifically?
我需要特别照顾吗? Anything else as a suggestion?
还有什么建议吗?
two things need to be checked: 需要检查两件事:
EDIT:: 编辑::
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.