FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



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


FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.