Link To File in Excel Sheet

Hi

 

Does anyone know if its possible to pull all the "link to file" files that are inside of a folder into a document?

 

many thanks

 

 

0

Comments

1 comment
  • Official comment

    Hi Nadeem,

    Thank you for posting your question on our community forum.

    No, we do not have that feature with Wasabi S3. To list the default S3 URLs for objects in a bucket, you would typically need to retrieve a list of objects in the bucket and then construct the URLs based on the bucket name and object keys. Here is a quick code run-down you could implement by installing AWS CLI as the default profile.

    Code:

     

    #!/bin/bash
    bucket_name="your-bucket-name"
    region="your-bucket-region"

    # List objects in the bucket
    objects=$(aws s3api list-objects --bucket "$bucket_name" --query 'Contents[].Key' --output text --endpoint-url=https://s3.$region.wasabisys.com)

    # Construct and output default S3 URLs for each object
    for object_key in $objects; do
      url="https://s3.$region.wasabisys.com/$bucket_name/$object_key"
      echo "$url"
    done

    Replace "your-bucket-name" with the name of your S3 bucket and the region string “your-bucket-region” with your bucket's location. This script lists all the object keys in the bucket and constructs the default S3 URL for each object using the https://s3.<region>.wasabisys.com endpoint.

    If you have further questions/concerns about setting this up, please reach out to us at support@wasabi.com

     

    Regards
    Gowtham
    Wasabi Technical Support

                                                                                                                                                      

Please sign in to leave a comment.

Didn't find what you were looking for?

New post