Problem ocurred when i placed my working folder up the server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi all,
it's me again. i'm using ASP.NET Web Application, using a "File Field"component under HTML tab and i do a right click on the component and select "Run As Server Control". This was done because i wanted the user to browse a specific file in their own directory.

Everything was working fine when i was working on my local PC.......The problem come when i placed the folder to the SERVER. Mapping to the server(http:12:12:12.12/kelly/index.aspx), when i click on the File1's button to browse a file in my client PC, the error show "could find file in c:\abc.txt".
Problem ocurred when i placed my working folder up the server to run my web program.
May i know how to solve this problem?

dim Filename as string
Filename=File1.value
Process(Filename)
 
Are you using a default fileName, which does not exist server side ?

OHM - Terry Burns


Kelly said:
hi all,
it's me again. i'm using ASP.NET Web Application, using a "File
Field"component under HTML tab and i do a right click on the component and
select "Run As Server Control". This was done because i wanted the user to
browse a specific file in their own directory.
Everything was working fine when i was working on my local PC.......The
problem come when i placed the folder to the SERVER. Mapping to the
server(http:12:12:12.12/kelly/index.aspx), when i click on the File1's
button to browse a file in my client PC, the error show "could find file in
c:\abc.txt".
 
Back
Top