Hello all,
for anyone who cares to answer, I am wanting to copy a text file from a directory in our IFS to another directory on our network. I'm not sure how to go about this and as this is a bit of an amateurish question I would appreciate general answers pointing me in the right direction rather than just out right answering.
What I've tried so far is
1. Powershell - though not very well. I was able to make a connection to our i, I wasn't exactly able to figure out how to do a simple copy. I know I can use the .OdbcCommand to send SQL commands, but I don't think that is what will work best for me.
2. Powershell - again using NETSTAT or Set-Location has worked somewhat, but when attempting to list the directory to prove I actually could work with the files I received an error.
3. Powershell - Using the command-line interaction with ACS seems like a good way but when using rmtcmd it asks for credentials and I'd like to automate this process without the need for credentials, though I'm fairly sure I will need them. Also, the command-line interaction has IFS capabilities, but according to the 'GettingStarted' documentation, "The Integrated File System Support uses the QFileSvr.400 file system to copy or send objects from one IBM i partition to another."
Again, general guidance or best practices are appreciated.
for anyone who cares to answer, I am wanting to copy a text file from a directory in our IFS to another directory on our network. I'm not sure how to go about this and as this is a bit of an amateurish question I would appreciate general answers pointing me in the right direction rather than just out right answering.
What I've tried so far is
1. Powershell - though not very well. I was able to make a connection to our i, I wasn't exactly able to figure out how to do a simple copy. I know I can use the .OdbcCommand to send SQL commands, but I don't think that is what will work best for me.
2. Powershell - again using NETSTAT or Set-Location has worked somewhat, but when attempting to list the directory to prove I actually could work with the files I received an error.
3. Powershell - Using the command-line interaction with ACS seems like a good way but when using rmtcmd it asks for credentials and I'd like to automate this process without the need for credentials, though I'm fairly sure I will need them. Also, the command-line interaction has IFS capabilities, but according to the 'GettingStarted' documentation, "The Integrated File System Support uses the QFileSvr.400 file system to copy or send objects from one IBM i partition to another."
Again, general guidance or best practices are appreciated.
Comment