What do you mean by quoting?
I've tried the following, without any luck:
ftpclient.executeCommand( "\"dir\"" )
I'm using FileZilla server in my testing, and I'm pretty sure it has a "dir" command. I've tried using SITE commands, also without any luck.
Do you have any examples of sending arbitrary FTP commands? Any help is greatly appreciated.