Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Can the automation module “upload reports to SFTP”?

Solved981 views20th April 2023Automation automation scipt SFTP
1
Isabel Arce [DevOps Member]139 19th April 2023 2 Comments

Hello everyone

I would like to know if through the automation module a Dashboard/Report can be uploaded to a linux server through the SFTP protocol. Would some C# code be required or is it not compatible?

We did tests with the predefined action of upload report to FTP but it gives us errors, I assume it would be because SFTP is used instead of FTP.

The SFTP communication has been successfully validated through Filezilla.

Script 'FTP' failed:

The following was returned from the script:
System.Runtime.InteropServices.COMException (0x800402F3): Excepción de HRESULT: 0x800402F3

Server stack trace:
at Interop.SLAspConnection.IDMSLink.Notify(Int32 iType, Int32 iSubType, Object varParam1, Object varParam2, Object& pvarOut)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Interop.SLAspConnection.IDMSLink.Notify(Int32 iType, Int32 iSubType, Object varParam1, Object varParam2, Object& pvarOut)
at Skyline.DataMiner.Net.ReportsAndDashboards.MailRequestHandler.SendMail(SendMailRequest sendMailRequest)
at Skyline.DataMiner.Net.ManagerStore.BaseManager.HandleMessageTaskWithInitializeLock(IConnectionInfo connInfo, IManagerStoreCustomRequest request)

Exception :
System.Runtime.InteropServices.COMException (0x800402F3): Excepción de HRESULT: 0x800402F3

Server stack trace:
at Interop.SLAspConnection.IDMSLink.Notify(Int32 iType, Int32 iSubType, Object varParam1, Object varParam2, Object& pvarOut)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Interop.SLAspConnection.IDMSLink.Notify(Int32 iType, Int32 iSubType, Object varParam1, Object varParam2, Object& pvarOut)
at Skyline.DataMiner.Net.ReportsAndDashboards.MailRequestHandler.SendMail(SendMailRequest sendMailRequest)
at Skyline.DataMiner.Net.ManagerStore.BaseManager.HandleMessageTaskWithInitializeLock(IConnectionInfo connInfo, IManagerStoreCustomRequest request)

Thanks!

Isabel Arce [DevOps Member] Selected answer as best 20th April 2023
Miguel Obregon [SLC] [DevOps Catalyst] commented 19th April 2023

Hi Isabel,
Could you quickly check if the remote path is correct? From your screenshot I see that you are missing a backslash. It should be two backslahes at the beginning of the remote path.

Rene De Posada [SLC] [DevOps Advocate] commented 19th April 2023

The error code points to the upload to the remote location. Please see: https://docs.dataminer.services/develop/api/ErrorCodeTable.html?q=0x800402F3

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Wim Bruynooghe [SLC] [DevOps Advocate]6.59K Posted 20th April 2023 1 Comment

The SFTP protocol is an entirely different protocol than FTP (or secure FTPS).

SFTP is at the moment not supported. As a workaround, you could implement it in a C# code block (optionally using a 3rd party dll) to do a copy to an SFTP location.

Isabel Arce [DevOps Member] Selected answer as best 20th April 2023
Isabel Arce [DevOps Member] commented 20th April 2023

Thanks Wim! We will review the option through C#.

You are viewing 1 out of 2 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin