Jul 15, 2016, 5:19 PM
7 Posts

File Upload Control

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 9.0.1
  • Role: Developer
  • Tags: xpage,file upload controller
  • Replies: 2

For simplicity sake, I have an xpage with a file upload control on it and wanted to know how I can save the selected file in a new document in a different database.  The users have a requirement to have a backup copy of each file that is uploaded in the application stored in a separate database.  I'm looking for some advise on how this could be done or if it is even possible.

Any help would be greatly appreciated.

Jul 29, 2016, 6:28 PM
589 Posts
well...

Will,

 

I've never used the file upload control.  I use PLUpload which I think is much nicer and I do store files in different documents - even in a different db.  I'm working on getting a simple example out - most likely for MWLug, but I did put a little project out that has an example if you want to take a look at that.

 

https://bitbucket.org/leedy/filevault

 

Dave

NotesIn9

Aug 3, 2016, 5:23 PM
7 Posts
Thanks!!

Thanks, I will give it a shot