|
Kevin, You can download the RPGsp Web Development Tool from www.RPGsp.com. In RPGsp, you can upload a file with one line of code. This will upload a file to the IFS... HTML: <input type="file" name="upload_file"> RPG: Eval success = RPGspUpload('/web/') This will upload a file to the IFS and name it logo.jpg... HTML: <input type="file" name="upload_file"> RPG: Eval success = RPGspUpload('/web/logo.jpg') An example program can be found in the RPGsp samples directory named upload.rpgsp. RPGsp is completely CGI-based, so it will integrate perfectly with anything else that's CGI. If you're just using functions in the RPGsp CGI Service program, you don't need a license. Note: I am a member of Profound Logic Software's RPGsp Support Team. Enjoy, Seth Newton snewton@xxxxxxxxxxxxxxxxx Profound Logic Software, Inc. Toll-Free: (877) 224-7768 x115 Fax: (603) 849-7757 -----Original Message----- ------------------------------ message: 6 date: Tue, 13 Dec 2005 09:03:15 -0700 from: "Kevin Touchette" <KTouchette@xxxxxxxxxxxx> subject: [WEB400] HTTP file upload utility Hi Everyone, Can someone point me to the best utility or method to upload a file to the IFS from a user's pc through a web page using an html tag such as: <input type="file" name="upload_file"> I have been using a net.data function to do this, however you have to rename the file to something usable and set your own permissions etc. after the file is uploaded. I also looked at FUPLOAD function from EASY400, I didn't quite understand how that works. Is there is quick and easy method of doing this through some utility on the iSeries. I can make it work now, I'm just looking for a better method through some utility. Kevin _______________________________________________ Kevin R. Touchette Washington Corporations Web and Application Development E-mail: KTouchette@xxxxxxxxxxxx ------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.