login about faq

Have a question though. Is it true that Chilkat cannot upload to a virtual folder? I can SFTP to the root just not the sub-folder.

asked Oct 15 '15 at 13:03

chilkat's gravatar image

chilkat ♦♦

The SFTP protocol specification is such that the path to the file to be opened/created/etc. is passed to the server. This may be a relative or absolute path. If relative, it is relative to the HOME directory of the SSH user account. If absolute, it is absolute to the root of the remote filesystem. (It is unlikely the SSH/SFTP server will allow a user account to create/delete/update files anywhere in the filesystem. It is likely to be restricted to only be allowed to access files beneath the HOME directory.)

In the SFTP protocol specification, there is no such thing as being in a "current remote directory" (as there is in FTP). You're effectively always in the HOME directory of the SSH user account.

When you refer to virtual folder -- I don't know what you mean by "virtual". If you mean "virtual" such as an IIS virtual web directory, then that's completely separate from an SSH server. In any case, you pass a path to the SSH server -- relative or absolute, and if the path is somehow interpreted differently than what I've explained above, then it's specific to that particular SSH server's implementation and features.


answered Oct 15 '15 at 13:05

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 15 '15 at 13:03

Seen: 2,133 times

Last updated: Oct 15 '15 at 13:05

powered by OSQA