CIFS (Windows Share) as user home directory

Post any question you may have in regards to GoAnywhere Services and let our talented support staff and other users assist you.

CIFS (Windows Share) as user home directory

Postby bothunbr » Thu Apr 17, 2014 2:19 pm

Hello,

I have an external job that is going to sftp my a file. Let's say it's goanywhere userid is testy01. Once I have the file I need to send it over to a windows server then call a program on an AS400 with director.

Anyway, I would like to skip the file copy GA->windows completely. Can I make a user's home directory point directly to a windows location? I have already added the windows share as a resource in GA services.

FYI: My GA services box is running on Linux.

Thanks!
--Brad
bothunbr
 
Posts: 11
Joined: Sun Mar 31, 2013 12:13 pm

Re: CIFS (Windows Share) as user home directory

Postby Support_Chris » Thu Apr 17, 2014 4:26 pm

Hi Brad,
You can make a user's home directory point directly to this windows location/share. What I would recommend doing is setting the web user's home directory to point to this network share you have set up in GA Services.

If this is the only place you'll ever need this web user's uploads to go, that will work fine. If you would like the user to upload some files to this directory, and other files to another directory, you could utilize virtual folders. That way, the default webdocs location can be used for other types of uploads or downloads.

That is merely a suggestion, in the event you needed additional folders for other tasks.



Thanks,
Chris
Support_Chris
 
Posts: 6
Joined: Thu Oct 24, 2013 10:23 am

Re: CIFS (Windows Share) as user home directory

Postby Jonathan » Thu Apr 24, 2014 9:12 am

Hi Brad,

I would mount the cifs share on the linux machine using something like below.

mount -t cifs -o username=xxx //server/share /mnt/share

Then in Services for the user you can set the path to /mnt/share/folder, You might find the performance a bit better as it will use the capabilites of the OS instead of the built in JVM one.
User avatar
Jonathan
 
Posts: 17
Joined: Wed Jan 02, 2013 5:27 am
Location: Pangbourne, UK


Return to Community Forum

Who is online

Users browsing this forum: No registered users and 0 guests

cron