Sponsored Content
Top Forums Shell Programming and Scripting Issue with zenity list on ftp Post 302844313 by defila on Sunday 18th of August 2013 11:20:28 AM
Old 08-18-2013
alright I have solved it - created a function for the ftp ls command and piped the function into zenity :}
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ftp issue

I was changing a bit of the existing script and didnt comment the ftp part in it. So, the ftp step executed, but there was no input file. I got the message like this netout: write returned 0? 250 Transfer completed successfully. What does this mean?. Has the ftp replaced the existing... (1 Reply)
Discussion started by: dnat
1 Replies

2. Solaris

Ftp issue please help.

Hi All. I need to FTP a file say abc.dat to client server say xyz.ibm.com location /etc/passwd/ibm with user name and password. I want to make sure my script when FTP the file abc.dat of 1000kb is correctly got transfered with the same contant every time to Clients server how do I confirm... (9 Replies)
Discussion started by: Haque123
9 Replies

3. Shell Programming and Scripting

Dymically determing the number of check list in Zenity, How?

hi, In my project i cannot determine the number of check list initially... I will know dynamically during execution... so How to specify the number of check list dynamically in zenity Waiting for your precious Answer..... (1 Reply)
Discussion started by: shivarajM
1 Replies

4. Shell Programming and Scripting

Issue with ftp

Hi friends, in one of the script i am doing ftp from solaris to a windows machine. From there i wll cd to specific directory. Now, let's say the directory is not there, then the cd command will fail. So, how i wll get to know here(in the unix box) that the command has failed. Thanks (3 Replies)
Discussion started by: tarakant
3 Replies

5. Solaris

FTP issue

Hi guys, I have a jumpserver that I connect to in order to connect to my SOLARIS boxes. I cannot connect directly. I used a remote terminal server and from there putty to the servers. That is OK. My only problem is when I need to FTP something to it. I have found no way to do that. Any... (4 Replies)
Discussion started by: 300zxmuro
4 Replies

6. Shell Programming and Scripting

ftp issue

Hi again, I'm using the following shell script via cron to upload the daily log files from my shell to the web server so we can view them online. But somehow logs get corrupted and i don't know what's issue. I would really appreciate for your help please. Shell Script: ftp.sh #!/bin/sh... (3 Replies)
Discussion started by: user`
3 Replies

7. Red Hat

FTP issue

Hi everybody, I would like to findout a directory or a file which is located at ftp server by connecting with ftp <ip> by using any other linux utility. I tried with find and locate commands in this manner but didnt work. Please help me. Regards, Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies

8. IP Networking

Issue with FTP?

HI Guys, Issue:: While doing bye command on ftp, it just hings as below untill you try Ctrl+C 891 bytes received in 0.0017 seconds (526.16 Kbytes/s) ftp> bye 221-You have transferred 0 bytes in 0 files. I too have tried with other commands like, close, disconnect etc but no luck. ... (1 Reply)
Discussion started by: Atp3530
1 Replies

9. Shell Programming and Scripting

Ftp issue

I have logged into ftp and unable to enter into the below directory. can anyone help me out to enter into the below directory. ftp> dir 200 Command PORT okay. 150 File status okay; about to open data connection. drwx------ 0 0 Dec 15 06:39 BANK ISI-Bas ftp> cd BANK... (5 Replies)
Discussion started by: ramkumar15
5 Replies

10. Shell Programming and Scripting

Ftp issue

In the automated process. due to space in between banking and critical, the below command is not working in the automated process. Can anyone help it out. If I am putting cd banking critical-Bas" and file get ftp'ed. but not through the below line ftp -m "ftp.com" -d "banking critical-Bas" (4 Replies)
Discussion started by: ramkumar15
4 Replies
zenity(1)                                                          User Commands                                                         zenity(1)

NAME
zenity, gdialog - display simple GNOME dialogs SYNOPSIS
zenity --calendar [--height=height] [--title=title] [--width=width] [--window-icon=path] [--date-format=format] [--day=number] [--month=number] [--text=text] [--year=number] zenity --entry [--height=height] [--title=title] [--width=width] [--window-icon=path] [--entry-text=text] [--hide-text] [--text=text] zenity --error | --info | --question | --warning [--height=height] [--title=title] [--width=width] [--window-icon=path] [--text=text] zenity --file-selection [--height=height] [--title=title] [--width=width] [--window-icon=path] [--filename=path] [--multiple] [--separa- tor=character] zenity --list --column=text [--height=height] [--title=title] [--width=width] [--window-icon=path] [--checklist] [--editable] [--radiolist] [--separator=character] zenity --progress [--height=height] [--title=title] [--width=width] [--window-icon=path] [--auto-close] [--percentage=number] [--pulsate] [--text=text] zenity --text-info [--height=height] [--title=title] [--width=width] [--window-icon=path] [--editable] [--filename=path] zenity --about | --help | --usage | --version | -GTK+_options DESCRIPTION
The Zenity application displays simple GNOME dialogs. You can use Zenity to create scripts that interact graphically with the user. gdia- log(1) has been deprecated and is now a wrapper script around Zenity, and will preserve compatibility with older scripts. OPTIONS
Zenity supports several different types of options. Zenity-Specific Options The following Zenity-specific options are supported: --about Display the About Zenity dialog, which provides information about the Zenity application, including the version number and the author. --version Display the version number of Zenity. Help Options The following help options are supported: --help Display help text. You can also use -? to specify this option. --usage Display brief usage text. GTK+ Options Zenity supports the standard GTK+ options. For more information about the GTK+ options, execute the zenity -? command. Dialog Options The following dialog options are supported: --calendar Display a calendar dialog. --entry Display a text entry dialog. --error Display an error dialog. --file-selection Display a file-selection dialog. --info Display an informational dialog. --list Display a list dialog. --progress Display a progress indication dialog. --question Display a question dialog. --text-info Display a text information dialog. --warning Display a warning dialog. General Dialog Options The following general dialog options are supported: --height=height Set the dialog height. --title=title Set the dialog title. --width=width Set the dialog width. --window-icon=path Set the dialog window icon with a full path to an image. Calendar Dialog Options The following calendar dialog options are supported: --date-format=format Set the date format to return at the command line. The default format depends on your locale. The format must be of strftime style, for example %A %d/%m/%y. --day=number Set the calendar day. --month=number Set the calendar month. --text=text Set the dialog text. --year=number Set the calendar year. Text-Entry Dialog Options The following text-entry dialog options are supported: --entry-text=text Set the dialog entry text. --hide-text Use asterisks to hide the entry text. --text=text Set the dialog text. Error Dialog Options The following error dialog options are supported: --text=text Set the dialog text. File-Selection Dialog Options The following file-selection dialog options are supported: --filename=path Set the file or directory to select by default. --multiple Allow multiple selections. --separator=character Set the separator character to return at the command line. This option is used only when the dialog allows multi- ple selections. Informational Dialog Options The following informational dialog options are supported: --text=text Set the dialog text. List Dialog Options The following list dialog options are supported: --checklist Specify that the first column contains check boxes. --column=text Set the text of a column. --editable Specify that the dialog contents are editable. --radiolist Specify that the first column contains radio buttons. --separator=character Set the separator character to return at the command line. This option is used only when the dialog allows multi- ple selections. Progress-Indication Dialog Options The following progress-indication dialog options are supported: --auto-close Close the dialog automatically when 100% has been reached. --percentage=number Set the initial percentage of the progress bar. --pulsate Specify that the progress bar pulsates until an EOF character is read from the command line. --text=text Set the dialog text. Question Dialog Options The following question dialog options are supported: --text=text Set the dialog text. Text-Informational Dialog Options The following text-informational dialog options are supported: --editable Specify that the dialog contents are editable. --filename=path Set the file to display in the dialog. Warning Dialog Options The following warning dialog options are supported: --text=text Set the dialog text. EXAMPLES
Example 1: Launching Zenity Using the List Dialog example% zenity --list --title="Choose bugs you wish to view" --text="Select items from the list below." --column="Bug Number" --column="Severity" --column="Description" 992383 Normal "GtkTreeView crashes on multiple selections" 293823 High "GNOME Dictionary does not handle proxy" 393823 Critical "Menu editing does not work in GNOME 2.0" Example 2: Launching Zenity Using the Progress Dialog example% find . -name '*.bk' | zenity --progress --title="Finding backups" --pulsate Example 3: Launching Zenity Using the Text Informational Dialog example% zenity --text-info --title="LGPL License" --filename="/home/user1/LICENSE" ENVIRONMENT VARIABLES
The following environment variables affect the execution of zenity: ZENITY_OK, DIALOG_OK Set the return value for OK. ZENITY_CANCEL, DIALOG_CANCEL Set the return value for Cancel. ZENITY_ERROR, DIALOG_ERROR Set the return value for Error. ZENITY_ESC, DIALOG_ESC Set the return value for Escape. EXIT STATUS
The following exit values are returned: -1 Error 0 OK 1 Cancel, Escape FILES
The following files are used by this application: /usr/bin/zenity Executable for Zenity. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWzenity | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
Zenity Manual Latest version of the GNOME Desktop User Guide for your platform. NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2003, 2004. SunOS 5.10 20 Jul 2004 zenity(1)
All times are GMT -4. The time now is 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy