Package org.jets3t.tests
Class PutViaSocket
java.lang.Object
org.jets3t.tests.PutViaSocket
Very basic client implementation able to PUT files into S3 using the Java
socket implementation directly, with no HTTP library or transport of any kind.
To use this class:
- provide a test.properties file in the classpath that contains the settings aws.accesskey and aws.secretkey
- modify the filename and bucketName variables in main() to provide the file you wish to upload, and the already existing buckety you want to upload it to in S3
- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PutViaSocket
public PutViaSocket()
-
-
Method Details
-
main
- Throws:
Exception
-