[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Filename in DefaultUpload*Stream*Content  XML
Forum Index -> Development
Author Message
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Hi!

The new feature with filename in <code>DefaultUploadContent</code> is fine. Is it possible to get the filename in <code>DefaultUploadStreamContent</code>, too?

regards
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

Hi,

sorry, I am not 100% sure what you mean.

The file name(s) are part of the upload stream, that you receive. So you really have to search for some special words within the stream. Example: stream of two uploaded files looks like:

FILENAME0=C%3A%2FUsers%2Fbmu%2FDocuments%2Faaaa1.txt&CONTENT0=4141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141&FILENAME1=C%3A%2FUsers%2Fbmu%2FDocuments%2Faaaa2.txt&CONTENT1=4141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141

You see, there is some FILENAME0, CONTENT0, FILENAME1, CONTENT1 within the stream. The content is hexadecimal characteres (you may use ValuManager to convert into byte[]).

Life is tough...

Björn

PS: is this the info you are looking for, maybe I misunderstood?

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

...I just see: do not get confused by the line-breaks within the stream data of the previous post: these are done by the browser - there are no line breaks or so within the stream!!!

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team