A
AAaron123
Been reading about uploading files and many of the examples contain the
following code:
Dim currentDir As String
currentDir = Request.Params("dir")
Dim root As String = "C:\JUNK"
If currentDir Is Nothing Then
currentDir = root
End If
If Not currentDir.StartsWith(root) Then
currentDir = root
End If
I understand that Request is a way of obtaining data sent by the browser to
the server, but can't figure when there would be "dir" since the examples
never seem to be sending that.
Could you tell me how the parameter dir might be set and what it might mean
in the above context?
Thanks a lot
following code:
Dim currentDir As String
currentDir = Request.Params("dir")
Dim root As String = "C:\JUNK"
If currentDir Is Nothing Then
currentDir = root
End If
If Not currentDir.StartsWith(root) Then
currentDir = root
End If
I understand that Request is a way of obtaining data sent by the browser to
the server, but can't figure when there would be "dir" since the examples
never seem to be sending that.
Could you tell me how the parameter dir might be set and what it might mean
in the above context?
Thanks a lot