Contemporary browsers don't send the path, just the filename.

http://www.google.com/search?q=html+file+input+path

On Mon, Sep 26, 2011 at 9:10 PM, Ken in Nashua <kcola...@live.com> wrote:
>
> Folks,
>
> I am using this tap5 UploadedFile
>
>
>                trailsBlob.setContentType(file.getContentType());
>                trailsBlob.setFileName(file.getFileName());
>                trailsBlob.setFilePath(file.getFilePath());
>                trailsBlob.setNumBytes(new Long(file.getSize()));
>                trailsBlob.setBytes(data);
>
> And I want to track what the original filename of the file was that got 
> uploaded.
>
> This is naturally forensic evidence.
>
>                trailsBlob.setFileName(file.getFileName());
>                trailsBlob.setFilePath(file.getFilePath());
>
> The above two calls are returning the same thing... just the filename. I need 
> filepath.
>
> No path is found anywhere.
>
> Does anyone know why? Does anyone know how I can obtain the original filepath 
> ?
>
> Best Regards and thanks
> kcola...@live.com
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to