Home
TeamSite
is Anyone familiar with asp?
System
Now I am using asp on teamsite. I create a new form ,when client choose a file, I use formapi callserver function to send a http request to a asp page,this asp page will execute iwextattr to get this file's extended attribute and write the output to a text file,then redirect to another asp to read the text file and return to form.
now I face 2 quesiton:
1. I modfiy IIS configration and create a OCX file. in asp page, I use this ocx to execute teamsite clt command.
but when I use "iwextattr -l vpath > c:\tmp.txt" , the tmp.txt is a empty file, I tried many times and found it's becuase of the vpath.
if I use "iwextattr -v > c:\tmp.txt", I can get the file with correct content,.
2. where can I find a detail description on call server usage?
I read the formapi develop pdf file, but it's still not detail. can I find a example program on devnet?
thanks for any help
Find more posts tagged with
Comments
Migrateduser
My guess would be that something is wrong with the vpath you are passing it. Can you paste us a sample vpath here so we can see what it is? Also, you could redirect stderr into your temp file as well and probably get a half decent error message explaing your problem. When you run the iwextattr command from the command line do you get expected output? Another possibility is that you might have set your OCX to run as a user who doesn't have permissions to the area containing the file where you are running iwextattr against.