Look at oFTP.quote. I am not at a place where I can validate this for you, however, I believe this is what you need.
HTH
>I need to establish an FTP connection from within my VB app to our Mainframe, then I need to execute certain FTP commands... I know how to create and open the connection, I know how to get,put & delete files but I don't know how to just issue FTP commands... Is there a way to do this from within VB without shelling out to DOS to run an FTP script? The command I need to issue is:
> Literal Site Filetype=JES
>This command needs to be executed before my Put statement.
>
>Any help would be greatly appreciated.
~Joe Johnston USA
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams