Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8397675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:51:17+00:00 2026-06-09T20:51:17+00:00

I am developing an application to Download file from NFS Server to my pc.

  • 0

I am developing an application to Download file from NFS Server to my pc. To accomplish my task i wrote a Shell script to copy all the directories at given path and executing the script using QProcess.
QProcess works fine and downloads all the directories.

Now, I want to show the downloading process report on QProgressBar. (same as we see on our windows while downloading files from internet).

I tried google search and find some idea using signal and tried as follow:

void NfsClient::NfsDownload()
{
    download = new QProcess(this);
    connect(download, SIGNAL(readyReadStandardOutput()), this, SLOT(displayProgressBar()) );
    download->execute("bash /home/samurai/NfsFileDownload.sh");
}


void NfsClient::displayProgressBar()
{
    ui->progressbar->setvalue(download->readAll().toInt());
}

But this readyReadStandardOutput() signal is never emitted. My Qt window becomes freeze while executing script. And Progressbar remains unchanged. 🙁

Is there any way to update the QProgressbar accordingly???
or any idea to show the GUI view of downloading process???

any suggestions/ideas ???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T20:51:19+00:00Added an answer on June 9, 2026 at 8:51 pm

    I solved it by removing Shell script concept and implementing QDir class.

    Since, to access NFS Server, Client has to mount server directory to one of its folder on it side. Thus in order to copy from a local folder its better to use inbuilt Qt class QDir for Copy, delete, upload functions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing media player and my application download mp3 file from server .
I am developing an web application which can upload/download a file from client to
I have been developing an application which needs to download a file from the
I am developing one application , where people will download the required file from
I am developing c# application, in which i am downloading package(zip file) from server
I'm Developing an iPad application where I need to download file from the Webservice
I am developing a windows phone application which allows user to download files from
I am developing an application where from several screens user has to download a
I am developing a C# Console Application which downloads files from an SFTP Server
We are developing an Android Application to download files from Google Doc.We were able

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.