Posts: 10 jnowakowski Document filename Friday, January 15, 2016 at 06:10am 0 votes Can a document filename refer to a file on a network drive as in the following: documentBuilder.FromFile(fileName) January 15 Created January 21 Last Updated 8 years ago Last Reply 3 Replies 20 Views 2 Users 0 Likes 0 Links Posts: 1812 harishaidary Reply to: Document filename Friday, January 15, 2016 at 06:30am 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 Log in or register to post comments Posts: 10 jnowakowski Reply to: Document filename Friday, January 15, 2016 at 06:46am 0 votes Can I specify the filename as shown below, or do I need to map a drive letter? @"\\MyServerName\FolderName\filename.pdf" Log in or register to post comments Posts: 1812 harishaidary Reply to: Document filename Friday, January 15, 2016 at 06:53am 0 votes That would also work. Mapping a network drive is not necessary. Haris Haidary OneSpan Technical Consultant Log in or register to post comments
Posts: 1812 harishaidary Reply to: Document filename Friday, January 15, 2016 at 06:30am 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 Log in or register to post comments
Posts: 10 jnowakowski Reply to: Document filename Friday, January 15, 2016 at 06:46am 0 votes Can I specify the filename as shown below, or do I need to map a drive letter? @"\\MyServerName\FolderName\filename.pdf" Log in or register to post comments
Posts: 1812 harishaidary Reply to: Document filename Friday, January 15, 2016 at 06:53am 0 votes That would also work. Mapping a network drive is not necessary. Haris Haidary OneSpan Technical Consultant Log in or register to post comments
Reply to: Document filename
Friday, January 15, 2016 at 06:30amReply to: Document filename
Friday, January 15, 2016 at 06:46amReply to: Document filename
Friday, January 15, 2016 at 06:53am