X7ROOT File Manager
Current Path:
/opt/alt/python37/lib/python3.7/site-packages/s3transfer
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
s3transfer
/
📁
..
📄
__init__.py
(28.36 KB)
📁
__pycache__
📄
bandwidth.py
(15.27 KB)
📄
compat.py
(2.9 KB)
📄
constants.py
(910 B)
📄
copies.py
(13.28 KB)
📄
crt.py
(21.65 KB)
📄
delete.py
(2.5 KB)
📄
download.py
(27.44 KB)
📄
exceptions.py
(1.04 KB)
📄
futures.py
(20.66 KB)
📄
manager.py
(27.65 KB)
📄
processpool.py
(35.42 KB)
📄
subscribers.py
(3.49 KB)
📄
tasks.py
(15.81 KB)
📄
upload.py
(29.68 KB)
📄
utils.py
(26.62 KB)
Editing: constants.py
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. import s3transfer KB = 1024 MB = KB * KB GB = MB * KB ALLOWED_DOWNLOAD_ARGS = [ 'ChecksumMode', 'VersionId', 'SSECustomerAlgorithm', 'SSECustomerKey', 'SSECustomerKeyMD5', 'RequestPayer', 'ExpectedBucketOwner', ] USER_AGENT = 's3transfer/%s' % s3transfer.__version__ PROCESS_USER_AGENT = '%s processpool' % USER_AGENT
Upload File
Create Folder