I have a quick question with regard to storing files on a location that has a password. I know that with FTP servers we can pass the username and password using the notation ftp://username:password@ftp.server.com/guixt/  but what we want to do is generate a text file and move this file to a fileserver; one which requires a username and password in order to obtain access. How can we accommodate this? The file server is mapped as the "Z:\" drive on the local machine.

I suggest you generate and then start a .bat file that contains the commands that are necessary to move the file to the server.