crypto_upload.go 294 B

123456789101112
  1. package osscrypto
  2. import (
  3. "fmt"
  4. "github.com/aliyun/aliyun-oss-go-sdk/oss"
  5. )
  6. // UploadFile with multi part mode
  7. func (bucket CryptoBucket) UploadFile(objectKey, filePath string, partSize int64, options ...oss.Option) error {
  8. return fmt.Errorf("CryptoBucket doesn't support UploadFile")
  9. }