{"id":46,"date":"2025-10-07T11:17:32","date_gmt":"2025-10-07T11:17:32","guid":{"rendered":"http:\/\/10.0.0.10:8080\/?page_id=46"},"modified":"2026-01-09T10:55:54","modified_gmt":"2026-01-09T10:55:54","slug":"myfiles","status":"publish","type":"page","link":"https:\/\/www.fairpdf.com\/index.php\/myfiles\/","title":{"rendered":"My Files"},"content":{"rendered":"<h2 class=\"has-text-align-center wp-block-post-title\">My Files<\/h2>\n\n\n\n\n<p>PDF Conversion<\/p>\n\n\n        <div id=\"fu_69e3891a764e56.34703873\" class=\"file-uploader\">\r\n            <input type=\"file\" class=\"fu-file\" \/>\r\n            <button type=\"button\" class=\"fu-submit\">Upload<\/button>\r\n            <div class=\"fu-status\" style=\"margin-top:8px;\"><\/div>\r\n            <div class=\"fu-progress\" style=\"margin-top:4px; height: 16px; width: 100%; background: #eee; display:none;\">\r\n                <div class=\"fu-progress-bar\" style=\"height: 100%; width:0%; background: #4caf50;\"><\/div>\r\n            <\/div>\r\n        <\/div>\r\n        <script>\r\n        (function () {\r\n            const container = document.getElementById('fu_69e3891a764e56.34703873');\r\n            const btn = container.querySelector('.fu-submit');\r\n            const input = container.querySelector('.fu-file');\r\n            const status = container.querySelector('.fu-status');\r\n            const progressContainer = container.querySelector('.fu-progress');\r\n            const progressBar = container.querySelector('.fu-progress-bar');\r\n            const intent = 'pdfconversion';\r\n            const allowedExts = [];\r\n\r\n            btn.addEventListener('click', () => {\r\n                status.textContent = '';\r\n                if (!input.files || !input.files[0]) {\r\n                    status.textContent = 'Please choose a file.';\r\n                    return;\r\n                }\r\n\r\n                    \/\/ Client-side extension check when filetypes attr provided\r\n                    if (allowedExts && Array.isArray(allowedExts) && allowedExts.length > 0) {\r\n                        const name = input.files[0].name || '';\r\n                        const dot = name.lastIndexOf('.');\r\n                        const ext = dot !== -1 ? name.slice(dot + 1).toLowerCase() : '';\r\n                        if (!ext || allowedExts.indexOf(ext) === -1) {\r\n                            status.textContent = 'File type not allowed. Allowed: ' + allowedExts.join(', ');\r\n                            return;\r\n                        }\r\n                    }\r\n\r\n                const fd = new FormData();\r\n                fd.append('file', input.files[0]);\r\n                if (intent) fd.append('intent', intent);\r\n\r\n                const xhr = new XMLHttpRequest();\r\n                xhr.open('POST', 'https:\/\/www.fairpdf.com\/index.php\/wp-json\/file-upload\/v1\/upload', true);\r\n                \/\/ ensure cookies are sent (useful for cross-origin or complex setups)\r\n                xhr.withCredentials = true;\r\n                xhr.setRequestHeader('X-WP-Nonce', '22bba4faf7');\r\n\r\n                xhr.upload.addEventListener('progress', (e) => {\r\n                    if (e.lengthComputable) {\r\n                        const percent = Math.round((e.loaded \/ e.total) * 100);\r\n                        progressContainer.style.display = 'block';\r\n                        progressBar.style.width = percent + '%';\r\n                    }\r\n                });\r\n\r\n                xhr.onloadstart = () => {\r\n                    btn.disabled = true;\r\n                    progressContainer.style.display = 'block';\r\n                    progressBar.style.width = '0%';\r\n                };\r\n\r\n                xhr.onloadend = () => {\r\n                    btn.disabled = false;\r\n                };\r\n\r\n                xhr.onreadystatechange = () => {\r\n                    if (xhr.readyState === 4) {\r\n                        try {\r\n                            const res = JSON.parse(xhr.responseText);\r\n                            if (xhr.status >= 200 && xhr.status < 300) {\r\n                                status.textContent = 'Uploaded \u2714';\r\n                            } else {\r\n                                status.textContent = 'Error: ' + (res?.message || xhr.statusText);\r\n                            }\r\n                        } catch (err) {\r\n                            \/\/ Show a helpful message and log raw response for debugging\r\n                            status.textContent = 'Error parsing server response. See console for details.';\r\n                            console.error('Upload response (non-JSON):', xhr.status, xhr.responseText);\r\n                        }\r\n                    }\r\n                };\r\n\r\n                xhr.send(fd);\r\n            });\r\n        })();\r\n        <\/script>\r\n        \n\n\n\n<p>User Files<\/p>\n\n\n<p>No files found.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PDF Conversion User Files<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-46","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fair Pdf - My Files Page<\/title>\n<meta name=\"description\" content=\"Upload files and have them converted into pdf files for free. This no subscription service is provided free until you reach its free limit.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fairpdf.com\/index.php\/myfiles\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fair Pdf - My Files Page\" \/>\n<meta property=\"og:description\" content=\"Upload files and have them converted into pdf files for free. This no subscription service is provided free until you reach its free limit.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fairpdf.com\/index.php\/myfiles\/\" \/>\n<meta property=\"og:site_name\" content=\"Fair Pdf\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-09T10:55:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fairpdf.com\/wp-content\/uploads\/2025\/12\/free-pdf-landing2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fairpdf.com\/index.php\/myfiles\/\",\"url\":\"https:\/\/www.fairpdf.com\/index.php\/myfiles\/\",\"name\":\"Fair Pdf - My Files Page\",\"isPartOf\":{\"@id\":\"https:\/\/www.fairpdf.com\/#website\"},\"datePublished\":\"2025-10-07T11:17:32+00:00\",\"dateModified\":\"2026-01-09T10:55:54+00:00\",\"description\":\"Upload files and have them converted into pdf files for free. This no subscription service is provided free until you reach its free limit.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fairpdf.com\/index.php\/myfiles\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fairpdf.com\/index.php\/myfiles\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fairpdf.com\/index.php\/myfiles\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fairpdf.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"My Files\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fairpdf.com\/#website\",\"url\":\"https:\/\/www.fairpdf.com\/\",\"name\":\"Fair Pdf\",\"description\":\"Providing your pdf files fairly and cheaply\",\"publisher\":{\"@id\":\"https:\/\/www.fairpdf.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fairpdf.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.fairpdf.com\/#organization\",\"name\":\"Fair Pdf\",\"url\":\"https:\/\/www.fairpdf.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fairpdf.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.fairpdf.com\/wp-content\/uploads\/2025\/12\/cropped-fairpdf-small-logo-1.png\",\"contentUrl\":\"https:\/\/www.fairpdf.com\/wp-content\/uploads\/2025\/12\/cropped-fairpdf-small-logo-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fair Pdf\"},\"image\":{\"@id\":\"https:\/\/www.fairpdf.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fair Pdf - My Files Page","description":"Upload files and have them converted into pdf files for free. This no subscription service is provided free until you reach its free limit.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fairpdf.com\/index.php\/myfiles\/","og_locale":"en_US","og_type":"article","og_title":"Fair Pdf - My Files Page","og_description":"Upload files and have them converted into pdf files for free. This no subscription service is provided free until you reach its free limit.","og_url":"https:\/\/www.fairpdf.com\/index.php\/myfiles\/","og_site_name":"Fair Pdf","article_modified_time":"2026-01-09T10:55:54+00:00","og_image":[{"width":1536,"height":1024,"url":"https:\/\/www.fairpdf.com\/wp-content\/uploads\/2025\/12\/free-pdf-landing2.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.fairpdf.com\/index.php\/myfiles\/","url":"https:\/\/www.fairpdf.com\/index.php\/myfiles\/","name":"Fair Pdf - My Files Page","isPartOf":{"@id":"https:\/\/www.fairpdf.com\/#website"},"datePublished":"2025-10-07T11:17:32+00:00","dateModified":"2026-01-09T10:55:54+00:00","description":"Upload files and have them converted into pdf files for free. This no subscription service is provided free until you reach its free limit.","breadcrumb":{"@id":"https:\/\/www.fairpdf.com\/index.php\/myfiles\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fairpdf.com\/index.php\/myfiles\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.fairpdf.com\/index.php\/myfiles\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fairpdf.com\/"},{"@type":"ListItem","position":2,"name":"My Files"}]},{"@type":"WebSite","@id":"https:\/\/www.fairpdf.com\/#website","url":"https:\/\/www.fairpdf.com\/","name":"Fair Pdf","description":"Providing your pdf files fairly and cheaply","publisher":{"@id":"https:\/\/www.fairpdf.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fairpdf.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fairpdf.com\/#organization","name":"Fair Pdf","url":"https:\/\/www.fairpdf.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fairpdf.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.fairpdf.com\/wp-content\/uploads\/2025\/12\/cropped-fairpdf-small-logo-1.png","contentUrl":"https:\/\/www.fairpdf.com\/wp-content\/uploads\/2025\/12\/cropped-fairpdf-small-logo-1.png","width":512,"height":512,"caption":"Fair Pdf"},"image":{"@id":"https:\/\/www.fairpdf.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.fairpdf.com\/index.php\/wp-json\/wp\/v2\/pages\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fairpdf.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.fairpdf.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.fairpdf.com\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fairpdf.com\/index.php\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":18,"href":"https:\/\/www.fairpdf.com\/index.php\/wp-json\/wp\/v2\/pages\/46\/revisions"}],"predecessor-version":[{"id":305,"href":"https:\/\/www.fairpdf.com\/index.php\/wp-json\/wp\/v2\/pages\/46\/revisions\/305"}],"wp:attachment":[{"href":"https:\/\/www.fairpdf.com\/index.php\/wp-json\/wp\/v2\/media?parent=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}