Welcome Guest, Not a member yet? Register   Sign In
Is there a way to upload files directly to AWS without saving it first in writeable
#4

(07-13-2022, 08:53 PM)iRedds Wrote: In any case, the file is saved when uploading to a temporary directory.
The move() and store() methods simply move it to another directory.
You can skip the move step and work directly with the temporary file to save to AWS.
Thanks, can you point out to me how this can be achieved? I am using the AWS PHP SDK, and it requires a filepath from the file on my server for it to move the file to AWS S3. I could not find any resource that would let me skip the move process because it is the process that places the file in the temporary folder (writable folder) in the first place.
Reply


Messages In This Thread
RE: Is there a way to upload files directly to AWS without saving it first in writeable - by kolektador - 07-14-2022, 08:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB