I started trying to use the .NET assembly today (V126.96.36.199) for FTP protocol but am having difficulty with file paths on the target server.
The problem is any connection to the server (using either the WinSCP exe or the .NET assembly within my own software) seems to be routed instantly to a subdirectory (e.g. home/zild), but the files need to be uploaded to a different directory (e.g. home/test). If I try to set the remote path to home/test/ (the absolute path) it actually uses a relative path (e.g. home/zild/home/test). I thought the .NET assembly only used absolute paths, so this is a surprise. Unfortunately I cannot find a way to set the path to the desired location (home/test).
Can somebody please explain what I am doing wrong here? I have tried searching the documentation and forums already but remain stuck.