upload file at client side #518

Open
opened 2016-12-07 16:33:27 +00:00 by vdevarapalli · 1 comment
vdevarapalli commented 2016-12-07 16:33:27 +00:00 (Migrated from github.com)

can i upload the file and store at client side instead of providing server api location at url.

public uploader:FileUploader = new FileUploader({url: 'http://localhost:10051/api/',
autoUpload: true,
allowedMimeType: ['image/png', 'image/jpg', 'image/bmp', 'application/pdf'],
maxFileSize: 510241024 // 5 MB
});

instead of this one ...can i define like

public uploader:FileUploader = new FileUploader({url: 'path to local folder',
autoUpload: true,
allowedMimeType: ['image/png', 'image/jpg', 'image/bmp', 'application/pdf'],
maxFileSize: 510241024 // 5 MB
});

### can i upload the file and store at client side instead of providing server api location at url. public uploader:FileUploader = new FileUploader({url: 'http://localhost:10051/api/', autoUpload: true, allowedMimeType: ['image/png', 'image/jpg', 'image/bmp', 'application/pdf'], maxFileSize: 5*1024*1024 // 5 MB }); instead of this one ...can i define like public uploader:FileUploader = new FileUploader({url: 'path to local folder', autoUpload: true, allowedMimeType: ['image/png', 'image/jpg', 'image/bmp', 'application/pdf'], maxFileSize: 5*1024*1024 // 5 MB });
sanorama commented 2017-03-05 13:07:25 +00:00 (Migrated from github.com)

bump

bump
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#518