login about faq

Hi Is it possible to configure Tectia so that 2 users can access the same directory? The 2 users login with username and pw. User 1 put files into the directory and user 2 get the files from the directory. Other/existing users must not be affected.

Best regards Henrik Ravn

asked Feb 02 '12 at 17:03

hbr's gravatar image

hbr
1111


Henrik,

Yes if they are using the same user you can just point that user to the directory where the uploads and downloads will happen.

You do this by setting up a separate Service group for that user. Then the default service group can be setup for all other users.

I have provided an example below based on Windows server, and more information can be found in the manual section "4.1.13 Services" (pg 85)

 <services>
  <group name="group1">
   <selector>
    <user name="shared_user" />
   </selector>
  </group>
  <rule group="group1" idle-timeout="0">
   <environment allowed-case-sensitive="TERM,PATH,TZ,LANG,LC_*" />
   <subsystem type="sftp" action="allow" application="sft-server-g3">
    <attribute name="virtual-folder" value="SFTP=c:\sftp" />
    <attribute name="home" value="c:\sftp" />
   </subsystem>
   <command action="allow" />
   <tunnel-local action="allow">
   </tunnel-local>
   <tunnel-remote action="allow">
   </tunnel-remote>
  </rule>
  <rule idle-timeout="0">
   <environment allowed-case-sensitive="TERM,PATH,TZ,LANG,LC_*" />
   <terminal action="allow" />
   <subsystem type="sftp" action="allow" application="sft-server-g3">
    <attribute name="home" value="%USERPROFILE%" />
    <attribute name="virtual-folder" value="C:=C:\" />
   </subsystem>
   <command action="allow" />
   <tunnel-agent action="allow" />
   <tunnel-local action="allow">
   </tunnel-local>
   <tunnel-remote action="allow">
   </tunnel-remote>
  </rule>
 </services>
link

answered Mar 23 '12 at 23:22

Joe%20-%20Tectia%20Support's gravatar image

Joe - Tectia Support ♦♦
55215

edited Mar 25 '12 at 21:42

Roman's gravatar image

Roman ♦♦
7735817

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×4
×2
×2

Asked: Feb 02 '12 at 17:03

Seen: 2,272 times

Last updated: Mar 25 '12 at 21:42

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.