I would like to know if anybody could help me with this:
1. After uploading a file some text is transferred into the document. Is it possible to let this happening in the background so the user donīt se the code that is pasted into the document.
2. If this is possible how would I have to write the code into the UploadEngine.asp I have already put an gif into the output, so that the word "download" is not displayed. But I would also like to have the filename displayed under the gif (like on the Delphi forums) - and mayby even the filesize if possible.
Have anybody worked with those things ? ----its simplt to much for my brain!-----
hm...I donīt hope to bother anybody with this - but now I have come so far that I can make the uploaded picture display the delphi-style with filename:
Now I only got two problems left: 1. how to display the size of the file 2. how to hide the code from the message (so that the users donīt fouls around with the code before they post their message.
Would be REALLY happy if anybody could help me with this.
Here I would have showed my; function addfile() in the lines 184-191 in UploadEngine.asp - but the prewiev donīt look so good when I do - is there a way to post textformat strictly ?
Now I have experiemend a bit with the codes in UploadEngine.asp. If Iīm not totally lost; where to look for the filesize must be in this text in line 95-97 in UploadEngine.asp: ----------------------------------------------- intFileLen = len(objUpload.Files.Item(0).Blob) if intFileLen > MaxFileSize then strResult = "File is too Large to upload"
-----------------------------------------------
I tryed to ad the code "intFileLen" after the filename. And I was accually getting a number. But Iīm not sure its counted in bytes. A picture of about 100 kb is being displayed as a picture of about 60 Kb. I also tryed with smaller files it alwayes comes out with about 60 % of the realsize - what are that code counting ?? - I just wish I knew