Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Don't forget to submit your entry for the Excellence Awards by October 30! | Need more information about the program? Check out the blog here
SOLVED

Acquiring / writing files to UNC paths - username & password

Highlighted
7 - Meteor

Hi all,

 

After some assistance please - I can't see that this issue has come up before, although if I'm honest, I find that hard to believe.

 

I have an Alteryx workflow - I need the workflow to acquire data from a server share that is on a different domain than the Alteryx server.  The workflow will also write to a server on a different domain.

 

While I can see where to enter the UNC path of the source and destination folders, I'm unable to work out where I can enter the username and password.  I would expect to be able to enter something along the lines of:

 

\\10.10.10.10\sourcedata\file.txt

Username: <domain>\<username>

Password: <password.

 

Any ideas from anyone?  Appreciate the feedback.

 

Cheers,

 

John.

Highlighted
11 - Bolide

I would use the run command and execute a "net use" command to map a drive with your credentials before attempting to access it in Alteryx.  This will map the folder to the drive W: of course you can change it to something else.  The second command allows you to delete the drive mapping, it doesn't actually delete the folder.

 

net use w: \\10.10.10.10\sourcedata /user:<username>@<domain> <password>

net use w: /delete
Highlighted
7 - Meteor

Hey Fireball...

 

It's when I see such simple solutions, I'm reminded of how inadequate I am.

 

Thank you for your feedback.  So simple.

 

Cheers,

 

John. 

Labels