T
tom
Hi lads -
got an issue with renaming a file. I'm actually using the FSO method
'MoveFile'.I did try to do my best, but doesn't want to work.
this is the code:
Dim fso
set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.MoveFile Server.MapPath("/document/&session("nome_file")&"), _
Server.MapPath("/document/&session("id_risp")&"_"&session("id_recl")&")
' fso.DeleteFile "session("nome_file")"
set fso = nothing
I tell you I tried to get the valuesof the 3 sessions and all of them give
me back a certain value
which is a good point, so the only thing I should do is just substituting
the first name(which would be
the file am going to upload) to the second one(which is the union between 2
different IDs)
the response I get by processing this page is the classic ' Error 500 '
if u got any clues, please let me know.
thanks in advance
- tommy
got an issue with renaming a file. I'm actually using the FSO method
'MoveFile'.I did try to do my best, but doesn't want to work.
this is the code:
Dim fso
set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.MoveFile Server.MapPath("/document/&session("nome_file")&"), _
Server.MapPath("/document/&session("id_risp")&"_"&session("id_recl")&")
' fso.DeleteFile "session("nome_file")"
set fso = nothing
I tell you I tried to get the valuesof the 3 sessions and all of them give
me back a certain value
which is a good point, so the only thing I should do is just substituting
the first name(which would be
the file am going to upload) to the second one(which is the union between 2
different IDs)
the response I get by processing this page is the classic ' Error 500 '
if u got any clues, please let me know.
thanks in advance
- tommy