I don't know why you are getting an error from netout when you run ftp.sh. If you would show us the actual error message you get and show us the contents of ftp.sh we might be able to help.
You haven't shown us how FILE, IP_ADDR, USER, PASSWD, USER_DIR, or LOG are set, so it is hard for us to guess at what:
will expand to when it is assigned to VAR. But it doesn't seem likely that VAR's value will be changed by the command:
What do you mean by ignore the warning? Do you want to hide a diagnostic message? Do you want to ignore the fact that an error occurred and have your script pretend that everything is OK? Have you considered doing something to make your script work in such a way that it doesn't generate a diagnostic message?
Make ftp.sh return 0 in cases where it completes successfully instead of printing a diagnostic message and returning a non-zero exit status.
I'm running Fedora Core 6 as an FTP server on a powerMac G4...
I'm trying to create a script to remove files older than 3 days...
I'm able to find all data older than 3 days but it finds hidden files such as
/home/ftp/goossens/.canna
/home/ftp/goossens/.kde... (4 Replies)
Most of the people think that they can not use Unix as desktop.
By this poll we gone tell them that we not just use Unix as desktop but also love different display managers like GNOME, KDE etc..... (1 Reply)
I am trying to figure out how to run the below variable assignment in a shell script so that it will snuff the "no such file or directory" and just pass the count value. That way I can do a valid compare in the next step.
num=`ls /appsrv/tmp/PrjRefData_20090428-*_in.xml | wc -l`
ls:... (3 Replies)
Hi All,
The means I use to ignore case, as an example is the following snippet:
It should accept any oof the following y|Y|YES|Yes|n|N|NO|No
echo "Enter Y/N to continue: "
read choice; (3 Replies)
Hi ,
When i try to ftp a zero byte file across through a shell script
It gives me the mesaage
netout: write returned 0?
Is there any way i can supress this message as it does not affect the execution of the script
Thanks (1 Reply)
Hi,
I have a FTP script that check for ".done" files in the remote path and the "get" the corresponding data files. Here's how it does.....
First it list all the *.done file as below:
ls *.done
And then it picks one file and get the corresponding data file. After that it... (3 Replies)
Hello,
I have to backup some cds but I get an I/O error message when I hit a bad sector (using the command cat) and my question is : what can I do to force the system to ignore theses errors (or all kind of errors) and let the process keep going?
(sorry for any eventuals language errors, I am... (6 Replies)
Can someone help me of doing something like this
send.sh
#!/bin/bash
for last; do true; done
echo $* | gammu sendsms TEXT $last
every thing is good except that when i launch the script like this
./send.sh This is the message i want to send +63922XXXXXXX
it turned out the message of... (2 Replies)
Hello,
i have bash script where im cycling some command for different lines in external file.
example:
while read domain;do
nslookupout=$(nslookup -type=ns $domain) || true
another commands
done < filenamewithdomains
i added:
|| true
after the command in belief it will just skip... (6 Replies)
Discussion started by: postcd
6 Replies
LEARN ABOUT DEBIAN
uget-gtk
UGET-GTK(1) User Commands UGET-GTK(1)NAME
uget-gtk - a download manager that uses gtk+2, and libcurl
SYNOPSIS
uget-gtk [options] [URL]
DESCRIPTION
Help Options:
-?, --help
Show help options.
--help-all
Show all help options.
--help-gtk
Show GTK+ Options
Application Options:
--quiet
add download directly. Don't show dialog.
--category-index=N
add download to Nth category. (default -1)
--folder=FOLDER
placed download file in FOLDER.
--filename=FILE
set download filename to FILE.
--user=USER
set both ftp and http user to USER.
--password=PASS
set both ftp and http password to PASS.
--proxy-type=N
set proxy type to N. (0=Don't use)
--proxy-host=HOST
set proxy host to HOST.
--proxy-port=PORT
set proxy port to PORT.
--proxy-user=USER
set USER as proxy username.
--proxy-password=PASS
set PASS as proxy password.
--http-user=USER
set http user to USER.
--http-password=PASS
set http password to PASS.
--http-referer=URL
include `Referer: URL' header in HTTP request.
--http-cookie-data=STRING
load cookies from STRING.
--http-cookie-file=FILE
load cookies from FILE.
--http-post-data=STRING
use the POST method; send STRING as the data.
--http-post-file=FILE
use the POST method; send contents of FILE
--ftp-user=USER
set ftp user to USER.
--ftp-password=PASS
set ftp password to PASS.
--display=DISPLAY
X display to use
AUTHOR
uget was written by Raymond Huang <plushuang at users.sourceforge.net>,and this manual page was originally written by Dennis Craven
<dcraven@gmail.com>
uget-gtk 1.4.9 July 2009 UGET-GTK(1)