Skip to main content
1-Visitor
May 16, 2016
Solved

How to export text file(.txt) from textarea in Mashup ?

  • May 16, 2016
  • 1 reply
  • 2864 views

Hello Export,

I want to export text file from from text area text value in mashup . Click on export button to export a text file in Thingworx repository or local system.

Thanks,

MP

Best answer by PaiChung

If you are copying the result back to a Thingworx window, you could use the Save/Write to repository services to create a Text file in a repository.

then use the FTP extension from the Marketplace to transfer it from Thingworx to somewhere else.

or just use the Repository download links to download the file and transfer it manual.

if you are trying to do this from the client/device side, you probably need to set up an agent to do this.

1 reply

5-Regular Member
May 16, 2016

Mayank, the 'Export' widget is used to export data (Infotables) as a .csv file. Is there a specific way you would want to export that as .txt? Can you give me more information about your use case?

mpatel-211-VisitorAuthor
1-Visitor
May 17, 2016

Hello Ravi,

My use case is my thingworx is connected to client device using SSH , in the client some interval of time applying one command , then I want to copy this result and make a .txt file , and zip that file and upload it to other server using FTP. My full requirements for .txt file export.

Thanks,

MP

PaiChung22-Sapphire IAnswer
22-Sapphire I
May 19, 2016

If you are copying the result back to a Thingworx window, you could use the Save/Write to repository services to create a Text file in a repository.

then use the FTP extension from the Marketplace to transfer it from Thingworx to somewhere else.

or just use the Repository download links to download the file and transfer it manual.

if you are trying to do this from the client/device side, you probably need to set up an agent to do this.