Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).
Script failure, when running Robo-FTP as a service, when it attempts to access a network share.
When Robo-FTP runs as a service, it uses the local system account by default. This account does not have access to network shares.
When setting up your Robo-FTP service, configure it to run as a domain user that has access to the necessary network shares.
Keep in mind that even though a service is running as a certain user, a login session is not started. Therefore, mapped letter drives will not be available. Use UNC paths to reference network shares instead.
There are some cases where referencing a letter drive is preferable to using a UNC path. For example, if you are using the DOSCMD command to run certain shell commands then you might need to map a letter drive (some shell commands do not work with UNC paths).
To map a letter drive, use the EXEC script command to run the Windows 'net' command. For example, to mount a network drive, say drive G, issue a command such as:
EXEC "net use G: \\server\path"
Do this before attempting to access drive G.
If you need to submit a user name and password to connect to the network share, the command might look something like this:
EXEC "net use G: \\server\path mypassword /user:mydomain\myusername"
For more details about the net use command, here is an article from Microsoft's knowledge base:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_use.mspx?mfr=true
Tags: Robo-FTP, Services, Network Share

