Skip to content

Issue with extracting zip files in local AWS /tmp folder #1138

Answered by ashishdhingra
bveeni asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bveeni,

Unfortunately, I'm unable to reproduce the issue. For demonstration purposes, used the below code.
Function.cs

using Amazon;
using Amazon.Lambda.Core;
using Amazon.S3;
using Amazon.S3.Model;
using System;
using System.IO;
using System.IO.Compression;
using System.Threading.Tasks;

// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer))]

namespace LambdaS3DownloadUploadTmp
{
    public class Function
    {
        string bucketName = "<<valid_bucket_name>>";
        string imageFileKey = "<<valid_key_for_imagefile>>";
        s…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ashishdhingra
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants