How to Export PDF Form Data to a Network Folder Without HTTPS
Question details
The user needs to configure a PDF form button to export or submit data directly to an internal server or network folder without the system interpreting the UNC path as a web address.

- Product
- PDF Editor
- Device & OS
- Windows
- Scenario
- Configuring a PDF form's submit action to route collected data to a company network directory.
- Observed behavior
- The form button interprets the entered Windows network path (UNC) as an HTTPS address, causing the data export to fail.
Ensure you have read and write permissions for the target network folder and verify the exact UNC path of your network destination before configuring the form.
Format the UNC Path as a Local File URI
Adjust the button's destination URL to use a file protocol instead of a standard string, preventing the PDF viewer from prepending HTTPS.
When entering a destination path for a form submission, placing a standard Windows UNC path (such as \\Server\Folder) into a URL field often causes the PDF software to assume it is a web endpoint. To bypass this, you must explicitly format the path using the file protocol.
Open your PDF in editing mode, right-click the submit button, and select 'Properties'.
Switch to the 'Actions' tab, choose 'Submit a form' from the dropdown menu, and click 'Add' or 'Edit'.
In the URL submission field, enter your path using the file URI scheme format. For a network path, type file:////ServerName/Folder/Subfolder/data.xfdf.
Choose the data format you want to export (such as FDF, XFDF, or HTML), and click 'OK' to save the action.
Exit form editing mode and click the button to ensure the data is successfully exported to the network folder.

Edit and Manage PDF Forms with WPS PDF
WPS Office provides a highly capable PDF toolkit that allows you to effortlessly view, fill, and manage interactive PDF forms. Whether you are dealing with local files or saving completed forms to a corporate network, WPS Office ensures a smooth workflow without the hassle of complex button scripting.
- 1. Open the PDF Form in WPS Office: Launch WPS Office and open your interactive PDF document using the WPS PDF tool.
- 2. Fill in the Data: Click into the form fields and type your information. WPS PDF seamlessly highlights editable fields for accuracy.
- 3. Save Directly to the Network: Instead of relying on a scripted submit button, click 'File' > 'Save As' and navigate directly to your desired network folder or UNC path to store the completed form safely.

Frequently Asked Questions
Why does my PDF form add HTTPS to my server path?
Many PDF editors default to web URLs for form submissions. If a network path is entered without a specific protocol identifier like 'file://', the software assumes it is an internet address and automatically prepends 'https://' to complete the URL.
What is the proper format for a Windows UNC path in a PDF action?
To properly link to a network drive in a PDF URL field, use the 'file://' protocol followed by the UNC path. For example, use 'file:////ServerName/SharedFolder/data.xfdf' instead of '\\ServerName\SharedFolder\data.xfdf'.
Why is my PDF form submit button doing nothing when clicked?
This is typically caused by built-in security restrictions in the user's PDF viewer. To prevent malicious activity, most modern readers block automated background submissions to local or network drives unless the document or folder is explicitly trusted in the software's security settings.
Can I use JavaScript to export PDF form data locally?
Yes, you can use document-level JavaScript functions like 'this.exportAsXFDF()', but these functions are considered restricted. They usually require the script to be executed from a certified document or require users to manually grant folder-level trust configurations.




