How does streamFilesToServer works ?
Posted: Tue Sep 07, 2010 9:17 pm
Hi all.
I've been trying to use this new feature in web client... what something goes wrong
This is my code
- Where the file goes in the server side?
- Can I say to the function the dirname of the server where to place the file?
- Is callback_stream_file() receiving any parameter?
Best Regards. Roberto.
Servoy 5.2
Windows XP, Ubuntu 10.04, Postgres 8
I've been trying to use this new feature in web client... what something goes wrong
This is my code
- Code: Select all
function btn_select_file(event) {
plugins.file.showFileOpenDialog( callback_method_select_file);
}
function callback_method_select_file(){
file = arguments[0];
if (file) {
plugins.file.streamFilesToServer( file, callback_stream_file );
}
}
function callback_stream_file(){
}
- Where the file goes in the server side?
- Can I say to the function the dirname of the server where to place the file?
- Is callback_stream_file() receiving any parameter?
Best Regards. Roberto.
Servoy 5.2
Windows XP, Ubuntu 10.04, Postgres 8