Save generated document at server


#1

Hi,
is it possible , after generating documents, to save it at a server directory.

After viewing my doc :

SendToBrowser(doc, docName,“doc”, this);

I would like to save the word document on a directory server.

Please help !


#2

Hi,

Simply use

doc.Save(Server.MapPath(".") + "\\TargetDir\\" + "Document.doc");