It is not recommended to manipulate the FileDocument.name
attribute. This is a system attribute and only for use by the inernal server logic. You can only change this attribute with a microflow running with all rights.
If you want to put files on an FTP location you need to copy a FileDocument to the FTP location using a Java action. You can use the Core.getFileDocumentContent(IContext context, IMendixObject fileDocument)
method wich returns an InputStream
.
I thought it was possible using a microflow executed with all rights.