Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Alan Reinecke
103
Views
3
Comments
[FileSystem] FileSystem - Creating a local file
Question
Forge
FileSystem (O11)
Forge asset by
João Portela
I am using the File_WriteText action.
I put a populated record list of type "Line" in the lines parameter.
I put "C:\myfolder\myfile.txt" in the path parameter.
I put "ASCII" in the encoding parameter.
File_WriteText created C:\myfolder\myfile.txt on the OutSystems server. Created the folder, too.
I want it to write to the C: drive of my client. How do I do that?
André Vieira
Staff
You can't :)
Let me explain why. You are processing the request on the server side and you don't have access to the client's machine. The security model won't even allow you to do this in javascript on the client side.
Your best bet is to use the
Download
widget.
Cheers
Debasis Sahoo
hey Alan,
could you please detail out the process of creating the file. i am new in outsystems and got stuck in achiveing this functionality.
Alan Reinecke
Leo,
I got stuck too. As André said, File_WriteText can't write to the client's local drive. I ended up writing to a shared folder. Shortly after that, my project was cancelled and I abandoned the whole thing.
I'm sorry that I'm not much help.
Alan
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...