sorry, it works fine with this code – there where problems saving my file to FTP.
If someone needs this, too: the code above is right and works fine!
Glad that is working for you :)
Let us know if you have any other questions or issues.
Regards,
Devin