Data Analyzer

  • Durum: Closed
  • Ödül: $20
  • Alınan Girdiler: 5
  • Kazanan: sundarsankaran

Yarışma Özeti

Map two files on the basis of one parameter (available in both the files) and look for corresponding other fields and display it on a webpage.
Need to fetch the first file from the local machine while the second file is present on the network location.
The problem I am facing right now is that there is zipped folder in the network location. I want to unzip the zipped folder and extract the particular file available inside that.
I am able to access the server location but I am struggling in unzipping the folder.
I have a specific path, that I want to pass (for eg: :C:\Users\Public\[login to view URL]). I have already stored this path in a variable (not using HTML for this)
Refer link:
[login to view URL]
this allows the user to manually select the zip folder and displays all the file contents. While I dont want to select the zip folder manually, I have the path. I somehow want to pass the path the path, extract the files. Once the files are extracted, I want to read data from a particular xml file and store it in a string variable

Tavsiye Edilen Beceriler

İşveren Geribildirimi

“Great working with Sundar. Really supportive, helpful. Helps until finishes the activity. Knows how to find the solution even for a complex task.”

Profil Görüntüsü anjalirathore910, United States.

Bu yarışmadan başlıca girdiler

Daha Fazla Katılım Görüntüle

Genel Açıklama Panosu

  • korneldevdesign
    • 2 ay önce

    What you want to achieve cannot be done in modern browsers, because they implement certain security restrictions.

    • 2 ay önce
    1. korneldevdesign
      • 2 ay önce

      I see some possible solutions however. For example you can serve up your file locally with a Node.js server and then just fetch as a "remote" resource.
      Or you could use just use Node.js and and install another library to work with zip archives.

      // "zip" is a package on to work with zip archives
      const zip = require('zip') // npm install zip
      const fs = require('fs')

      const pathToZipFile = './';
      const localZipFile = fs.readFileSync(pathToZipFile)
      const reader = zip.Reader(localZipFile)

      const obj = reader.toObject('utf8')

      // if there is only one file in the zip archive
      const localXMLContents = Object.values(obj)[0]


      • 2 ay önce
  • azharulislam07
    • 2 ay önce

    Sir, thank you very much for me. I will give you your profile

    • 2 ay önce
  • sundarsankaran
    • 2 ay önce

    Are you using JavaScript ? to extract zip

    • 2 ay önce
    1. anjalirathore910
      Yarışma Sahibi
      • 2 ay önce

      Yes, I am using javascript.

      • 2 ay önce
    2. anjalirathore910
      Yarışma Sahibi
      • 2 ay önce

      I found the sample code in for reading zip files. I am trying to modify that code for my purpose

      • 2 ay önce

Daha fazla yorum göster

Yarışmalara nasıl başlanır

  • Projenizi ilan edin

    Yarışmanızı İlan Edin Hızlı ve kolay

  • Tonlarca girdi alın

    Tonlarca Girdi Alın Bütün dünyadan

  • En iyi girdiyi seçin

    En iyi girdiyi seçin Dosyaları indirin - Kolay!

Şimdi bir Yarışma İlan Et ya da Bugün Bize Katılın!