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.
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.
Technical Support Manager
e. [email protected]
w. GoAnywhere.com | HelpSystems.com
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.