Upload excel file and save it to disk or log request
@Module({
imports: [NestjsFormDataModule.config({ storage: FileSystemStoredFile,
fileSystemStoragePath: 'nestjs-fd'
})],
providers: [
],
exports: [NestjsFormDataModule],
})
run request thewre excal or image is form data and log request
Problem if you go to 'nestjs-fd' folder the file will be corrupted
if you check log file size is bigger then actual files that was sent and extra bytes are present
Upload excel file and save it to disk or log request @Module({ imports: [NestjsFormDataModule.config({ storage: FileSystemStoredFile, fileSystemStoragePath: 'nestjs-fd' })], providers: [ ], exports: [NestjsFormDataModule], })
run request thewre excal or image is form data and log request
Problem if you go to 'nestjs-fd' folder the file will be corrupted if you check log file size is bigger then actual files that was sent and extra bytes are present