jnowakowski

Document filename

0 votes
Can a document filename refer to a file on a network drive as in the following: documentBuilder.FromFile(fileName)

Reply to: Document filename

0 votes
Yes you can definitely upload a file from a network drive. You would have to specify the complete path to your document. Here is an example:
 .WithDocument(DocumentBuilder.NewDocumentNamed("sample_nda")
                                    .FromFile("P:/Documents/sample_nda.pdf")
where P:/ is my network drive. Hope this helps!
Haris Haidary OneSpan Technical Consultant

Reply to: Document filename

0 votes
Can I specify the filename as shown below, or do I need to map a drive letter? @"\\MyServerName\FolderName\filename.pdf"

Reply to: Document filename

0 votes
That would also work. Mapping a network drive is not necessary.
Haris Haidary OneSpan Technical Consultant

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off