![]() |
![]() |
We are currently migrating this forum over to our HelpSystems domain. Please post all new threads in our new HelpSystems Community Portal. |
![]() |
|
![]() |
AutoMate Discussion | ![]() |
help :
faq :
home
|
||
Latest News:
|
latest topics : statistics |
Topic Title: FTP site command and chmod Topic Summary: FTP site command with chmod not working Created On: 02/09/2010 10:16 AM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
||||
I trying to use FTP Advanced with chmod to change file permission on a remote machine. I have tried chmod with both "Site Command" and "User Defined". Automate is showing the command as completing normally, without error, but the file permisions on the unix machine are not changing. What is the proper way to use chmod with FTP Advanced? Every other part of the task is working correctly. Automate 7.1.0.0 (Build 208261) OS: Windows Server 2008 service pack 2 Examples below did not work: <AMFTPADVANCED FTPCOMMAND="user_defined" PARAMETER="chmod 700 /c/CreateDailyJournal.scr" AM_ONERROR="CONTINUE" AM_SETVAR="ErrMsg;%ErrMsg% %vbCrLf% %sUnit% (%sIP%): Failed CHMOD 700 CreateDailyJournal.scr" /> <AMFTPADVANCED FTPCOMMAND="site" PARAMETER="chmod 700 /c/CreateDailyJournal.scr" AM_ONERROR="CONTINUE" AM_SETVAR="ErrMsg;%ErrMsg% %vbCrLf% %sUnit% (%sIP%): Failed CHMOD 700 CreateDailyJournal.scr" />
|
||||
|
||||
![]() |
||||
Stephen, Try setting your task to log to a separate file (in the Advanced tab of the FTP Logon action). The log should provide more information regarding any data returned by your server. Another option is to populate a variable with the return data (in the Data tab of the FTP Advanced action).
------------------------- Thank you for choosing AutoMate. Marjo <a class="ftalternatingbarlinklarge" href="http://www.networkautomation.com" target="_blank">Network Automation, Inc. - No Code, No Limits Business Process Automation</A> |
||||
|
||||
![]() |
||||
<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format Below is the value of the result variable used in both a User Defined and Site commands.
User Defined: <AMFTPADVANCED FTPCOMMAND="user_defined" PARAMETER="chmod 700 /c/CreateDailyJournal.scr" RESULTVARIABLE="FTPADV" AM_ONERROR="CONTINUE" AM_SETVAR="ErrMsg;%ErrMsg% %vbCrLf% %sUnit% (%sIP%): Failed CHMOD 700 CreateDailyJournal.scr" /> Value of FTPADV variable /c/
Site Command: <AMFTPADVANCED FTPCOMMAND="site" PARAMETER="chmod 700 /c/CreateDailyJournal.scr" RESULTVARIABLE="FTPADV" AM_ONERROR="CONTINUE" AM_SETVAR="ErrMsg;%ErrMsg% %vbCrLf% %sUnit% (%sIP%): Failed CHMOD 700 CreateDailyJournal.scr" /> Value of FTPADV variable /c/
|
||||
|
||||
![]() |
||||
Stephen, What is your Server Connection Type (FTP Logon -> Advanced -> Server Connection Type). Did you receive the same return data when setting a separate log file? If possible, please attach your task steps as well as the generated log.
------------------------- Thank you for choosing AutoMate. Marjo <a class="ftalternatingbarlinklarge" href="http://www.networkautomation.com" target="_blank">Network Automation, Inc. - No Code, No Limits Business Process Automation</A> |
||||
|
||||
![]() |
||||
I am using SFTP connection. The log file does not contian data from the FTP Advanced command, and this is the same for both user defined and site commands. Many steps are dissabled to make the testing easier. Data written to log file: ------------------------------------------------------------------------
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) Edited: 02/09/2010 at 12:58 PM by StephenMorgan |
||||
|
||||
![]() |
||||
Stephen, Unfortunately, CHMOD is not supported under SFTP connection types at this time. However, I will add this to our ITS (Issue Tracking System) as a feature request to be added in AM8. We apologize for any inconvenience this may have caused.
------------------------- Thank you for choosing AutoMate. Marjo <a class="ftalternatingbarlinklarge" href="http://www.networkautomation.com" target="_blank">Network Automation, Inc. - No Code, No Limits Business Process Automation</A> |
||||
|
||||
![]() |
||||
I use the FTP Log On command to connect to external servers and send/receive files. a week ago, production flipped us from one external server to another (different IP addresses) ,,, we got them to switch up back, but have received this error ever since when trying to connect:
Authentication type [16] failed Error 114 We have been able to telnet out thru port 22 and the client can see us connect, but when we try to execute the command in script, the client does not see us at all and we get the error. We have thought ,,, maybe a certificate has been corrupted but cannot verify that. Any help will be greatly appreciated.
------------------------- Paulo Monaco - Fiserv AM6E, AM7E, BPA7E - W2K3 Servers, XP Clients |
||||
|
||||
![]() |
||||
Hi Ron,
Would it be possible to post the FTP log or send it over to support@networkautomation.com? If it was working, something may have changed on the server end?
------------------------- ![]() Ricardo Castaneda | Principal Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 |
||||
|
AutoMate Discussion
» AUTOMATE » AutoMate 7
»
FTP site command and chmod
|
![]() |
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.