According to the documentation you would add the "optional" command as the last parameter of the UDF
 Code:
FTPPut("c:\temp\","myfile.txt","Anonymous","someone@somewhere.com","cd subdirectory")
_________________________
Today is the tomorrow you worried about yesterday.