Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ビデオをある領域から別の領域(s3fs)に移動しているので、次のようにしています:
File newFile = new File(newFilePath);
次に、このコードを使用してコピーします
FileUtils.copyFile2(file, newFile);
しかし、S3 では、オブジェクトのコンテンツ タイプが間違っています。このプロセスでコンテンツ タイプを「video/mp4」に設定するにはどうすればよいですか? それとも前に?
助けてくれてありがとう。