Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/122.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 如何使用AWSS3GetPreSignedURLRequest在S3中设置目录或文件路径?_Ios_Amazon Web Services_Amazon S3 - Fatal编程技术网

Ios 如何使用AWSS3GetPreSignedURLRequest在S3中设置目录或文件路径?

Ios 如何使用AWSS3GetPreSignedURLRequest在S3中设置目录或文件路径?,ios,amazon-web-services,amazon-s3,Ios,Amazon Web Services,Amazon S3,看看这个类,我看不到任何在我的bucket中指定目录的方法 例如,我的bucket中有一个目录images和一个名为“first.png”的文件。我可以将密钥设置为“first.png”,但只有当文件位于我的bucket的根目录下时,这才有效 当我尝试将键设置为“images/first.png”时,它也不起作用。如何使用AWSS3GetPreSignedURLRequest将目录中的文件作为目标 谢谢它应该与“images/first.png”一起使用。您看到了什么错误消息?没有错误消息,但让

看看这个类,我看不到任何在我的bucket中指定目录的方法

例如,我的bucket中有一个目录images和一个名为“first.png”的文件。我可以将密钥设置为“first.png”,但只有当文件位于我的bucket的根目录下时,这才有效

当我尝试将键设置为“images/first.png”时,它也不起作用。如何使用
AWSS3GetPreSignedURLRequest
将目录中的文件作为目标


谢谢

它应该与“images/first.png”一起使用。您看到了什么错误消息?没有错误消息,但让我再试一次如果没有错误消息,您如何知道它不工作?我无法看到文件。无论如何,错误是在我的目标C文件传输代码。你说得对,马特。非常感谢。那么我应该删除这个问题吗?