This post is similar to another but this time I have to reimport the file from server to client(smart and web).
I have tried with this kind of function call:
- Code: Select all
1 - plugins.file.streamFilesFromServer(pathLocalFileName,"claims.servoy",globals.dmo_utl_fileShowErr)
2 - plugins.file.streamFilesFromServer(pathLocalFileName+"\"+fileNameWithFileExtension,fullPathInWichIFoundFileOnServerWithFileNameFileExtension,globals.functionCheckErr)
3 - plugins.file.streamFilesFromServer(pathLocalFileName+"\\"+fileNameWithFileExtension,fullPathInWichIFoundFileOnServerWithFileNameFileExtension,globals.functionCheckErr)
4 - plugins.file.streamFilesFromServer(pathLocalFileName+"/"+fileNameWithFileExtension,fullPathInWichIFoundFileOnServerWithFileNameFileExtension,globals.functionCheckErr)
I have tried all kind of separator(\,/,\\ to make the string solve the special char) but nothing work.
Another thing is : if I try to inspect the function NULL is returned,in add the global call back function is never called.
In my specific case the remotePath and the remoteFileName and remoteFileExstension are knowed,I want only allow the user to choose where save the file(by plugins.file.showFileOpenDialog).
The other function (plugins.file.streamFilesToServer(file,null,globals.functionCheckErr) works fine.
Can you show me please how can I make it work(with an example of a single file transfer)
Thanks in advance
Marco