且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用WinSCP(SFTP)将文件上传到Azure存储?

更新时间:2023-02-08 23:19:07

从您的评论看来,您已经获得了SFTP访问信息.因此,您的问题不是专门针对Azure.您所需要的只是如何上传到SFTP.为此,请使用WinSCP站点上的任何SFTP上传示例.例如,一个非常基本的示例上传单个文件.只需使用客户端提供的访问信息即可.

From your comments, it seems that you were already given the SFTP access information. As such, your question is not about Azure specifically. All you ask for is how to upload to an SFTP. For that use any SFTP upload example on the WinSCP site. For instance, the very basic example Uploading a single file. Just use the access information you were given by the client.

尽管如此,但我不确定是否存在对Azure存储的SFTP访问.但这是您必须与客户讨论的事情.他们坚持使用SFTP.

Though again, I'm not sure there's an SFTP access to Azure Storage. But that's something you have to discuss with the client. They insist on the SFTP.

有关对Azure存储进行远程访问的讨论,请参见例如:

For discussion about remote access to Azure Storage, see for example:

  • Get started with Azure File storage on Windows
  • Facading Azure storage blob with sFTP service

这些都没有提及任何SFTP.实际上,Azure服务通常不支持SFTP. SFTP通常是* nix的东西. Windows上运行的Azure服务. Windows中没有SFTP(). Windows支持FTPS.但是Azure商店似乎也不支持.

None of these mention any SFTP. Actually Azure services do not support SFTP in general. SFTP is *nix thing generally. Azure services run of Windows. There's no SFTP in Windows (yet). Windows supports an FTPS. But Azure Store does not seem to support that either.

也许有些误解.可能不是Azure存储,可能只是用于存储文件的Azure Linux盒子.或者,它们的意思是FTPS,而不是SFTP.他们可能拥有带有FTPS服务器的Azure VM,可以访问Azure存储.

Maybe there's some misunderstanding. Maybe it's not the Azure Storage, maybe it's just an Azure Linux box used to store files. Or they mean the FTPS, not the SFTP. They might have an Azure VM with an FTPS server to access the Azure Storage.