nicis wrote:
does the problem could be solved ?
I use the temporary solution (AddRawSettings("RemoteDirectory") but this solution does not permit to "reset" the remote directory parameter(I get a dictonnary error, element already exist)
1) does the raw setting is used when the session is open or at every "command"
2) can the raw setting can be modified ?
3) does a solution exist in .net&com interface to navigate from one directory to another one (like "cd remotedirectory")
4) does a solution exist to submit a command (like "cd ") to winscp.exe process ?
I do not see how this is related to this thread.
Anyway, the assembly does not have a concept of current remote working directory. You always need to use absolute paths for remote files. You should not rely on using paths relative to the user's home directory.