Connecting Tech Pros Worldwide Forums | Help | Site Map

Saving to file issues

Newbie
 
Join Date: Oct 2009
Posts: 1
#1: Oct 15 '09
Hello, I was wondering if anyone could help me in this really tricky issue i have been working on. I am working with a programs APIs that receives parameters and then excutes commands and gives back values. The APIs themselves are written in C

At the moment I am trying to set up a gateway and I have successfuly did this using C as well, however I realised that using ASP.net is much much mroe effective but the problem is that when i pass the variables to the API EXE, the exe runs fine but doesnt save the results to a file

when i run it on the actual computer, the results text file is created but when i try and do it via ASP.net, the results are printed but not to a file

currently the APIS print to file using a file pointer and FOPEN() and fprintf
quite simple really but ASP doesnt create the file after the exe is run
I have given permissions for aspclient to access the file and modify it and whats strange is i tried just creating a file and writing "HELLO WORLD!" in the webform and it successfully creates it


very lost here and any help would be highly appreciated

Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,167
#2: Oct 19 '09

re: Saving to file issues


ASP.NET will create the file on the server, not on the client computer.
Reply