在浏览器中使用google cloud shell文件下载时,什么是完全限定的文件路径

时间:2017-04-05 23:58:05

标签: shell google-app-engine google-cloud-platform

我正在尝试使用浏览器Google Cloud shell。其中有一个菜单选项可下载文件。它要求用户输入一个完全限定的文件路径。

我尝试了很多文件名和路径的变体,但它一直没有错误。

如果我有这样的路径,请输入' test.txt':

根@一些长的唯一值:/etc/letsencrypt/live/www.customappurl.com

我该怎么做?

我试过了:

  • 根@一些长的唯一值:/etc/letsencrypt/live/www.customappurl.com/test.txt
  • 一些长的唯一值:/etc/letsencrypt/live/www.customappurl.com/test.txt
  • /etc/letsencrypt/live/www.customappurl.com/test.txt
  • 的test.txt

目前,我只是手动复制文本文件。有没有其他方法可以做到这一点?

1 个答案:

答案 0 :(得分:2)

您的第三个选项/etc/letsencrypt/live/www.customappurl.com/test.txt应该可以使用。我刚刚验证了它。您可以尝试'cat /etc/letsencrypt/live/www.customappurl.com/test.txt'来确保该文件存在吗?