1
當我嘗試大於10MB的文件上傳到我的服務器解析,我得到一個錯誤在客戶端上說上傳PFFile大於10MB
Error Domain=NSCocoaErrorDomain Code=263 "Failed to create PFFile at path '/var/mobile/Containers/Data/Application/voice_message.mp4': file is larger than 10MB." UserInfo={NSLocalizedDescription=Failed to create PFFile at path '/var/mobile/Containers/Data/Application/voice_message.mp4': file is larger than 10MB.}
什麼的要對此最好的辦法?我應該將文件分割成多個PFFiles,然後上傳,然後將它們重新放在服務器上?我應該甚至使用PFFile?任何建議將超級讚賞!
乾杯!