[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Attach File
Michael,
You could use something like the following:
<html>
<body>
<form name="UploadFile" method="POST" action="/cgi-bin/uploadf"
enctype="multipart/form-data">
<center>
<input type="file" name="file1" size="30"></input></br>
<input type="submit" value="Submit" />
</center>
</form>
<body>
<html>
Then in the program "uploadf", you can call the processing program after
the file is written to the ifs.
The "uploadf" program we have is a modified version that can be found at
www.easy400.net. You will look for the File Upload / Download Utility
(library FUPLOAD - last release Jun 15, 2009).
Hope that helps.
Jason Baker
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael Cook
Sent: Wednesday, October 14, 2009 1:18 PM
To: HTTPAPI and FTPAPI Projects
Subject: RE: Attach File
I have a application that allows users to post a horse for sale and I
need to allow them at checkout send a photo of the horse and it be
stored on the system. Written in rpg and converted with rpgsp for the
web. I am at loss on the part of getting the jpg with the browser.
Thank You
Michael Cook
Director of Technology
TWHBEA
(931) 359-0586
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
Klement
Sent: Wednesday, October 14, 2009 10:27 AM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Attach File
Do *WHAT* with the AS/400? Do you want to run a browser on the '400?
Or are you looking to write a tool that takes the place of the browser
to upload an image to a web server? Or....?
Michael Cook wrote:
> Just trying to figure out a way to do it with the as400
>
> Thank You
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------