Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: prasmussenSteve,
If you are looking for an alternate method to do this, attached is an experimental/prototype node created to read a file from a Windows network but could easily be modified to write a file as well. Please be aware that this node is not part of the base product, uses a 3rd party library and is in draft form. Basically, all that it does is retrieve a file from the windows network based on specified user credentials and then places it on the LAE server with the file path captured on the output pin.
Steps:
1. Download the CIFS Library:
https://jcifs.samba.org/src/jcifs-1.3.18.jar
2. Place jar in directory:
<LAE Install Directory>/lib/java/ext
3. Enter file information. For example: If you have file M:\TempShareFolder\SampleFile.csv on ShareName(\\ComputerX)(M: )
Host=ComputerX
ShareName=ShareName
Folder=TempShareFolder
FileName=samplefile.csv
Domain=yourDomainName
UserName=youUserName
Password=yourPassword
ClientIP=<get your IP>
4. To get your IP, go to command prompt and type the following. (The IP will be the value in the 2nd Address Value)
nslookup ComputerX
Attachments:
GetFileFromWindowsDrive.brg