Topic "Specify the gorup while spcifying the permissions"

Author Message
Perhogan
[View user's profile]
Donor
Joined: 2012-05-16
Posts: 10
Location: Germany
I have implemented a VBA that allows me to create several excel files and upload them to an SFTP server.

After that i just need to connect to and online application and specify the folder where i copied them for triggering the execution on the server (the excel has a macro that creates the input file for a computational model).

however to be able to execute the file from the online application, i would need to make them executable for a specific group of users.

by default the group that is assigned to the files upon the session.PutFiles command is not the right one.

is there a way to specify the group similarly as i can do from the user interface?
Perhogan
[View user's profile]
Donor
Joined: 2012-05-16
Posts: 10
Location: Germany
Would the Session.ExecuteCommand be of help?

if yes waht would be the command to change the group?

thanks!
Perhogan
[View user's profile]
Donor
Joined: 2012-05-16
Posts: 10
Location: Germany
SOLVED:

i found my way with the executecommand "chgrp"
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License