save a file to the images drive

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

save a file to the images drive

Patrick-4
I am passing in a .jpg file to a service.
 <attribute name="filename" type="java.nio.HeapByteBuffer" mode="IN"
optional="false"/>

Now I guess I need to save it to the drive in my images directory.
How can I do this?
Thanks
Patrick
Reply | Threaded
Open this post in threaded view
|

Re: save a file to the images drive

BJ Freeman
take a look at the code to upload a image and save it in the product
content, in the catalog.


=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Patrick sent the following on 6/11/2010 10:06 AM:
> I am passing in a .jpg file to a service.
>   <attribute name="filename" type="java.nio.HeapByteBuffer" mode="IN"
> optional="false"/>
>
> Now I guess I need to save it to the drive in my images directory.
> How can I do this?
> Thanks
> Patrick
>