Hi,
I would like to upload file to a specific location. and overwrite the existing one if a file already exist with the same name.
ufs/share/image/test/
How to setup the directory dynamically and setup overwrite option before uploadFileFromBrowser()?
I tried
var opts = new UploadOptions();
opts.directory = "c:/temp";
opts.maxFileSize = "5M";
But it complains that the UploadOptions is not defined.
Thanks,
Xiaoli
upload file to specific location.
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Code: Select all
Can the overwrite be set somewhere
Code: Select all
Has the pessimistic lock bug been fixed in verson 4.5?
Code: Select all
If I install version 4.5 can my code be migrate directly without any change?
0 x
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Who is online
Users browsing this forum: No registered users and 27 guests