We have a requirement from our customer to receive an incoming email that has a file attached and, upon receipt, run a process that copies the attachment from Notes to a network folder. I’m able to do this from my client, but when I schedule it to run on the server I encounter problems. We’re running on an iSeries, and I’m told by IBM that moving files between OS is difficult. Can anyone provide some help on how I can do this? We’re running Domino and LEI 7.0.2 on an i520.
Subject: Moving Attachments Between OS on an iSeries
What errors occur when you try it from the server? Is it an authority issue? Is QNOTES authorized to the folder? If you can get it to a network folder, getting it to the iSeries shouldn’t be a problem. I suspect whoever you spoke to at IBM wasn’t fully informed.
Subject: Moving Attachments Between OS on an iSeries
Hi can you use the Net Use command?
Something like this:
Create a batch job
net use r: \drive name\directory admin /USER: domain\password
REM ************************************************
REM The next few lines will create a copy of the
REM attachment
REM Starting to copy the attachment
copy attachment.txt\drive name\directory
NET USE r: /DELETE
Exit
Search on Net Use
HTH
Subject: Moving Attachments Between OS on an iSeries
I would be interested to know how you automated the moving of the attachments in the first place. I am trying to automate the filing of attachments to a network drive when they arrive in the inbox.
Thanks in advance.