SFTP Root directory - WeOnlyDo Discussion board

SFTP Root directory (wodSFTP / wodSFTP.NET / wodSFTPdll)

by dk, Wednesday, January 18, 2006, 06:30 (6699 days ago)

I am able to upload files to root directory, but fails if directory path is specified. Permissions is not an issue since it works manually.

Please help

Dk

Re: SFTP Root directory

by wodSupport, Wednesday, January 18, 2006, 09:54 (6699 days ago) @ dk

Dk,

do you always set full path (starts with /) when you specify RemotePath argument?

You can retrieve user's home path (usually user's Root) if you call RealPath( ~ ) or RealPath( . ) after you connect. After that, just append directory names to that path.

Can you give me exact example what's happening?

Kreso