Program started.
true
C:\b4j\sqltocsv\Objects
java.lang.RuntimeException: Error uploading file.
550 Access is denied.
at anywheresoftware.b4a.net.FTPWrapper$2.run(FTPWrapper.java:219)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
/, Success=false
java.lang.RuntimeException: Error uploading file.
550 Access is denied.
Thanks Erel, the problem was elsewhere as usual so, I post it, because it could help someone else: FTP.UploadFile last parameter is ServerFilePath - Full path to file that will be created on the server.
In that case ServerFilePath must contain also the file created on the FTP target site