Search
Search titles only
By:
Search titles only
By:
Home
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
Κανονισμός Λειτουργίας
Σωματείο AVClub
Log in
Register
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Menu
Install the app
Install
Reply to thread
Home
Forums
Home Theater
Home Theater PC
Συστήματα Αποθήκευσης, Media Servers & Networking
Intel SS-4200E (NAS)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="k.m." data-source="post: 978689" data-attributes="member: 5842"><p>Προσπαθώ να το αναβαθμίσω από το web interface και μου σκάει κάποιο validation στο όνομα του αρχείου. To firmware είναι το "EMCNTG-1.1.11.32736.tgz" και μου λέει "The file does not exist! Check the file name!"</p><p></p><p>Το validation που κάνει είναι το </p><p></p><p>if(uploadfile.indexOf("\\\\") != 0){</p><p> var pf = navigator.platform.toLowerCase();</p><p> var os;</p><p> if (pf.indexOf("win") != -1) {</p><p> os ="win";</p><p> if(uploadfile.indexOf(":\\") != 1) {</p><p> alert("The file does not exist! Check the file name!");</p><p> return (false);</p><p> }</p><p> } else if (pf.indexOf("mac") != -1) {</p><p> os = "mac";</p><p> if(uploadfile.indexOf("/") != 0) {</p><p> alert("The file does not exist! Check the file name!");</p><p> return (false);</p><p> }</p><p> } else {</p><p> os = "linux";</p><p> if(uploadfile.indexOf("/") != 0) {</p><p> alert("The file does not exist! Check the file name!");</p><p> return (false);</p><p> }</p><p> }</p><p> }</p><p></p><p>Αλλά "win" στο όνομα έχουν οι εφαρμογές για το PC ("EMC_Software-win-web-1.0.8.29259_en.exe") και όχι το firmware.</p><p></p><p>Δεν καταλαβαίνω τι του φταίει</p></blockquote><p></p>
[QUOTE="k.m., post: 978689, member: 5842"] Προσπαθώ να το αναβαθμίσω από το web interface και μου σκάει κάποιο validation στο όνομα του αρχείου. To firmware είναι το "EMCNTG-1.1.11.32736.tgz" και μου λέει "The file does not exist! Check the file name!" Το validation που κάνει είναι το if(uploadfile.indexOf("\\\\") != 0){ var pf = navigator.platform.toLowerCase(); var os; if (pf.indexOf("win") != -1) { os ="win"; if(uploadfile.indexOf(":\\") != 1) { alert("The file does not exist! Check the file name!"); return (false); } } else if (pf.indexOf("mac") != -1) { os = "mac"; if(uploadfile.indexOf("/") != 0) { alert("The file does not exist! Check the file name!"); return (false); } } else { os = "linux"; if(uploadfile.indexOf("/") != 0) { alert("The file does not exist! Check the file name!"); return (false); } } } Αλλά "win" στο όνομα έχουν οι εφαρμογές για το PC ("EMC_Software-win-web-1.0.8.29259_en.exe") και όχι το firmware. Δεν καταλαβαίνω τι του φταίει [/QUOTE]
Verification
Post reply
Home
Forums
Home Theater
Home Theater PC
Συστήματα Αποθήκευσης, Media Servers & Networking
Intel SS-4200E (NAS)
Top
Bottom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…