T
tom
Hello, got a prob with renaming a file; still don't know where is the
mistake.
this is the code:
<%
'***************************************************************************
*
file_orig=session("nome_file")
file_copy=session("id_risp") & "_" & session("id_recl")
'path_copy=Server.Mappath("/document/" & file_copy & ".doc")
'response.write(file_orig)&"<br>"
'response.write(file_copy)&"<br>"
'response.end
Dim fso
set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.MoveFile file_orig, file_copy <--( ROW: 117 )
set fso = nothing
%>
and this is the Error :
Microsoft VBScript runtime error '800a0035'
File not found
/aaaa/bbbb/zzzz/frm_risp_new_sql.asp, line 117
Have u got any clue?
mistake.
this is the code:
<%
'***************************************************************************
*
file_orig=session("nome_file")
file_copy=session("id_risp") & "_" & session("id_recl")
'path_copy=Server.Mappath("/document/" & file_copy & ".doc")
'response.write(file_orig)&"<br>"
'response.write(file_copy)&"<br>"
'response.end
Dim fso
set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.MoveFile file_orig, file_copy <--( ROW: 117 )
set fso = nothing
%>
and this is the Error :
Microsoft VBScript runtime error '800a0035'
File not found
/aaaa/bbbb/zzzz/frm_risp_new_sql.asp, line 117
Have u got any clue?