axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <sam...@wso2.com>
Subject Re: Write an output file in server side code (Axis 1.6b C++)
Date Wed, 03 Oct 2007 05:37:18 GMT

>         string log = mc->getUserName(); //is it correct? Anyway it
> compiles correctly...
>
>         ofstream out;
>         out.open("/root/Desktop/fileLoginUtente.txt", ios::app);
>         out <<  "Test: " << log;
>   
The problem could be that the server may not have the write permission 
to write to the location /root/Desktop.

Try:  out.open("/tmp/fileLoginUtente.txt", ios::app);

and see if the file gets written.

Samisa...

-- 
Samisa Abeysinghe : WSO2 WSF/PHP
"http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message