Firebase Storage를 사용하고 있으며 모든 것이 잘 작동합니다.Firebase Web Storage - 이름을 지정하지 않고 파일 업로드
어떻게 이름을 지정하지 않고 파일을 업로드 할 수 있습니까?
그래서 파일은 저장소 에서처럼 Firebase에 의해 고유 한 이름을 갖게됩니다.
이
내가 지금 사용하고 무엇의 예입니다firebase.initializeApp(config);
var fileUpload = document.getElementById("uploadFile").files;
var storageRef = firebase.storage().ref(fileUpload[0].name);
var uploadTask = storageRef.put(fileUpload[0]);
그리고는 다음과 같이가 someting 싶지 :
firebase.initializeApp(config);
var fileUpload = document.getElementById("uploadFile").files;
var storageRef = firebase.storage().ref();
var uploadTask = storageRef.put(fileUpload[0]);
당신이 제공 할 수있는 모든 도움을 주셔서 감사합니다. 감사.
덕분에 남자입니다. 알았다. U ROCK. –