Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-08-2014, 11:39 AM
rdittmer rdittmer is offline
Registered User
 
Join Date: Sep 2008
Posts: 2
using chmod in securefx command line

Is it possible to use the CHMOD command as part of a securefx command line file transfer process?

I have a request to change permissions on a file after it has been uploaded to a Unix server. I would like to alter the permissions as part of the transfer instead of setting up a separate task to change the permissions after the completion of the upload.

In this particular request, the files to be transfered are indentified with wildcards and I do not want to modify permissions on a file in the destination folder that I did not initally upload.

I have found little documentation on this function, and what I found implies it is run stand-alone and not an option to the actual file transfer process.

(If it makes a difference I am using dos batch scripts, not VB or any other higher scripting language.)

Thank you in advance
Roger
Reply With Quote
  #2  
Old 05-08-2014, 12:02 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi Roger,

Thanks for the post. SecureFX 7.2 has a new SFXCL /Chmod option which can be used to set permissions. for example:
sfxcl /Chmod 777 /S <session_name> test.txt
Is this what you are seeking?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:33 AM.