sFtp and the cd command

Dec 21, 2009 at 8:24 AM

Is there a way of sending a cd //<foldername> command after establishing a connection. I have a requirement to do a cd //<foldername> command to change the destination folder on the upload server before I send the file. Is this possible with the current library? I have checked but could not find a change directory or cd command or any other way of forcing a command on the sftp protocol.

Assistance with this will be greatly appreciated.