prabakaran a · Dec 27, 2016

Upload and strore the file

Hi all,

          How to store  the upload  file in CSP?


 Prabakaran A.

0 1,522
Discussion (6)3
Log in or sign up to continue

I am not clear what file you have uploaded and how it is currently stored.  Is it a stream object or something?

Here is a simple example to upload and store a file via a csp page:


<form enctype="multipart/form-data" method="post" action="upload.csp">
    Enter a file to upload here: <input type=file size=30 name=FileStream>
    <hr />
    <ul><input type="submit" value="Upload file"></ul>

<csp:if condition='($data(%request.MimeData("FileStream",1)))'>
    <h2>Saving file...</h2>


Allowing client to specify server-side is not a recommended approach.


Use incremented integers, hashes or guids instead.

Hi i want to upload image and excel file to particular folder from my client side  page using inter system... how can i achieve this ? without any server script language eg: php,.net etc...please help me...