LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2008, 05:46 AM   #1
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Rep: Reputation: 15
Question how to use Xdialog gauge option with ftpput


hi all

how can i use Xdialog gauge with ftpput.
I am doing ftp like this:

ftpput -v -u$NAME -p$PASS -P21 url . $file


Thanks & Regards
KKPal
 
Old 06-27-2008, 06:30 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Here's a simple example using 'zenity' instead of 'Xdialog':
Code:
# As in "$(seq 1 11)":
for ((i=1;i<11;i++)); do
 # else it's too fast:
 sleep 1s
 echo "${i}0"; done |\
zenity --title "Teh Title" --progress --text "I R doing Something:" --percentage 0 --auto-close
The only difference is AFAIK the latter not having "--auto-close" and it shows you have to feed it the percentage from 'ftpput' output.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with dialog(Xdialog) --gauge option zackarya Programming 7 09-02-2010 03:25 AM
Xdialog fselect option kkpal Linux - Newbie 0 05-21-2008 03:55 AM
LXer: The Green Mainframe puts a gas gauge on data centers LXer Syndicated Linux News 0 01-26-2008 07:50 AM
dialog bash gauge wget question... DjRakso Linux - Newbie 1 12-19-2007 03:57 PM
Using dialog --gauge to display download percentage from wget mentallysilent Programming 2 08-17-2006 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration