>I am getting a stupid INVALID CUSTOM OPTION error right after wiat wind # 6
>
>wait wind str(5)
> lcCommand = 'do ftp_out with '+ str(lnuser)+', '+ str(lnType)
> wait wind str(6)
> &lcCommand
>
>How should I call this dynamic command?
>
>TIA
You're missing quotes around the value you're building up in the string:
lcCommand = 'do ftp_out with "'+ str(lnuser)+'", '+ str(lnType)
Your second parameter is probably OK as digits. If your first parameter is digits, too, I'm not sure what could be wrong. Mybe you need the quatation marks on BOTH parameters?