Hi! I'm new to outsystems. I'm trying to figure out what values does the procedure is expecting.
If you have an example it will be greatly appreciated.
Should it be:
For anyone having difficulties on using the extension, this is to be used to access windows shared folders. You can usually access a windows shared folder by entering "\\server\share" in Windows Explorer, and sometimes you are asked for credentials. The path in the format "\\server\share\path\to\folder\file.txt" is called a UNC path, and it contains a hostname ("server"), a share name ("share") and a path ("path\to\folder\file.txt").
To use the extension, add dependencies to the SharpCifs extension.
Wouldn't it be a good idea to add this to the documentation?
Hello Leonardo,
I am trying to write binary data to network path but it fails with error : "Invalid URI : Hostname could not be parsed."
Can you please help me out with this. I am trying to write data to network file path e.g. "\\abc.xyz.com\Automation\OutSystems". Not sure why this error is thrown. Below is the parameter passed:
Domain: "\\abc.xyz.com"
HostName: "\\abc.xyz.com"
Share : "Automation"
FilePath : "OutSystems\"+FileName
Hostname doesn't need the slashes "\\", neither the domain... try "acb.xyz.com" on both.
I also tried this but it throws different error : Failed to connect to server
Same issue. I've tried every single iteration. Which leads me to believe this is a networking issue. Even though the parsing of the URI seems to be whacky, duplicating "/".
Hi Alan,
Since the Shared folder is implementation of CIFS, I believe the parameters should expect below values.
Regards,
Swatantra
Alan Marquez wrote:
HI Swatantra , Thanks for the reply> Still have some questions maybe you can help.1. Does CIFS means cloud base implementation?Regards,Alan
CIFS stands for Common Internet File System. It is a protocol for the network filesystem.
Hi
Can you make an example?
Michael
May i know how to use this ? We publish onto Integration Studio but in Service Studio-> add dependency , we cannot see any service components on shared folders.
Hi Fernandes,
I can understand the other parameters but what is the input format for "Authentication"?
Authentication is a Structure with Domain, Username and Password attributes.
Yes, we need to click the '+' to open it...
The ReadFile works great!
But the ListFiles returns empty... anyone with a solution?
Well, it has to be run from a SERVER ACTION. Then it works fine!
Can anyone help me on this:
PATH: \\XH-CON-IB-10203\SharedTXT\Sampletxt1.xml
Domain:"XH-CON-IB-10203"
Host:"XH-CON-IB-10203"
I'm Getting: Im getting: An error was raised by the application: No such host is known
I took the host name from the cmd by typing hostname