You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

How to move files from Peoplecode

3 replies [Last post]
krispsoftpro's picture
User offline. Last seen 1 year 48 weeks ago. Offline
Joined: 09/01/2008
Posts: 5

Hi,
How to move files from one folder another using peoplecode. Example: After processing an inbound file I want to move that file to a DUMP folder. Any suggestion in this regard helps me a lot.

Lepa's picture
User offline. Last seen 5 days 11 hours ago. Offline
Joined: 06/23/2008
Posts: 570
Re: How to move files from Peoplecode

You can use PutAttachment fucntion to do that. Here is a post on this site to get you started, ask again if you are still stuck :)

http://www.compshack.com/peoplesoft/ftp-file-using-peoplecode

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Ashar's picture
User offline. Last seen 1 week 6 days ago. Offline
Joined: 03/26/2008
Posts: 214
Re: How to move files from Peoplecode

May be you can use Exec function in peoplecode to issue OS commands.. i haven't tried it myself though...

Peace,

Ashar

krispsoftpro's picture
User offline. Last seen 1 year 48 weeks ago. Offline
Joined: 09/01/2008
Posts: 5
Re: How to move files from Peoplecode

Hi Lipa, Ashar

Thanks for the reply. let me try with above solutions.

Thanks

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
The question below is to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.