If I use FTPClient I can change the behavior and set ACTIVE/PASSIVE mode as you describe.
But when I use the static method FileTransferClient.uploadURLFile I don't have those options, or do I?
I'd like to use that method because of the use of the protected method prepareURLTransfer.
Second, how do you manage to get path to work. In an other issue (
http://www.enterprisedt.com/forums/viewtopic.php?t=3321) I have posted I need to strip the first slash character to get it to work with the path.
Now I have solved all of it by extending FileTransferClient.