It depends on your IIS settings.
*IF* IIS is set to "allow parent paths", then from that ASP page you could use
But if your server is not allowing parent paths, then you can't use ".." in Server.MapPath.
imagePath = Server.MapPath("../data/images/30072013/0/") & RS("imagename")
But there's no reason you couldn't build your own:
currentDir = Server.MapPath(".") ' this should always be allowed
' if that path ends in a \ strip it off
If Right(currentDir,1) = "\" Then currentDir = Left(currentDir,Len(currentDir)-1)
' then strip off everything after last remaining \
upOne = Left( currentDir, InStrReverse(currentDir,"\") )
' and now you can build on that to get the full path:
imagePath = upOne & "data\images\30072013\0\" & RS("imagename")