uploading with ERAttachment ???
uploading with ERAttachment ???
- Subject: uploading with ERAttachment ???
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 12 Jun 2017 12:11:43 -0400
I am uploading .zip files with ERAttachment. Everything is working fine. But
now I need to do more.
I figured out how to unzip the archive so I end up with:
/clientFiles/attachments/e/f/e/4.zip the uploaded zip and
/clientFiles/attachments/e/f/e/4 as a directory. Inside this directory I have a
couple of files.
index.html
pict1.png
pict2.png
logo.png
Ok, so obviously this is a web page that lives at:
/clientFiles/attachments/e/f/e/4. If I navigate to the folder and double click
the index.html, I will get the page.
I need to process the attachment.filesystemPath() to get to the index.html. I
thought I could just parse the filesystempath() and read the file. That was
easy, but didn’t give me what I wanted.
What do I need to do to present the index.html as a webpage!
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden