Lockfile is used so the script will not run multiple times, for instance from crontab.
IF you have this script in cron to run every 5 minutes, and the download lasts 7 minutes lockfile will prevent it from running during download (unwanted in any case).
As for checksuming, unfortunately wget cannot do this, you will have to do this manually or switch to using ssh with rsync (which has checksuming builtin).
If you could somehow generate a md5sum of all files named for instance mysum.txt on the server you are fetching the data from and transfer that to your server you could run a check from the script after download like :
Have you tried to fetch those file manually to confirm that the same thing is happening with any FTP client ?
Hi,
When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code.
Please give some resolution.
SCPClient client = new... (1 Reply)
I am logged into a server via SSH.
There is a file on my desktop of my Windows PC I would like to put on that server.
How do I do it?
SCP looks the likely method but how does the server know where the file is on the local machine?
Thanks. (2 Replies)
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Hi ,
How to check whether web server is running from remote machine
How to check whether web server is running on web server itself
Can any one help me soon (1 Reply)
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Hi,
I have two Cent OS Linux systems and one Ubuntu OS system contains two Ethernet Cards.
I need to create two networks by using Ubuntu sys as router. One network need to configure in IPv4 addresses and another network should configure in IPv6 addresses. Please help me how to configure two... (0 Replies)
Hi,
I am trying to copy a file from oracle home on a unix platform to my local machine. I think i can use ftp but i am not sure of the exact syntax and way i should write this. Can someone help please? (2 Replies)
Hi Am using unix Ksh
Am getting the problem while transferring zero size files through the script .
When i transfer zero size files from local machine to remote machine manually i can able to do it .
My question its beause of zero size files am not able to transfer through script ? or its... (2 Replies)
Hello,
I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine.
Is this possible.?
Currently it is being done manually using winscp (1 Reply)
I want to SSH to 192.168.1.15 Server from my machine, my ip was 192.168.1.99
Source Destination was UP, with IP 192.168.1.15.
This is LAN Network there are 30 Machine's Connected to the network and working fine, I'm Playing around the local machine's because I need to apply the same rules in... (2 Replies)
Discussion started by: babinlonston
2 Replies
LEARN ABOUT XFREE86
flush
FLUSH(1) General Commands Manual FLUSH(1)NAME
Flush - GTK-based BitTorrent client
SYNOPSIS
flush [OPTIONS] [TORRENT_FILE]...
DESCRIPTION
Flush is a GTK-based BitTorrent client. You can use it to download files from the BitTorrent network.
You can control already running instance, for example, by following commands:
flush -o --download-rate-limit=100
flush --start=all
FEATURES
* Controlling running instance by command line interface, such as:
* Starting/stopping torrents.
* Changing download/upload rate limit.
* Changing maximum connections limit.
* Running many instances with different configs from the same user.
* Automatic copying finished downloads to specified directory.
* Setting custom download path for each file of the torrent.
* Ability to choose torrent file's character set encoding.
* Automatic torrents loading from specified directory.
* Automatic pausing and removing old torrents.
* Temporary pausing and resuming torrents.
* Overall and current session statistics.
* Creating your own torrent files.
* IP filter.
OPTIONS --version
Show program version and exit.
--help Show help options and exit.
--config=DIRECTORY
Configuration directory path (default: ~/.flush).
--download-rate-limit=SPEED
Set download rate limit (KB/s).
--upload-rate-limit=SPEED
Set upload rate limit (KB/s).
--max-uploads=NUMBER
Set maximum uploads.
--max-connections=NUMBER
Set maximum connections.
--start={all,downloads,uploads}
Start torrents.
--stop={all,downloads,uploads}
Stop torrents.
-o, --only-pass
Only pass commands to already running Flush instance. Does not start new instance if it is not running yet.
FILES
~/.flush
Default configuration directory.
BUGS
On startup Flush finds already running instances via DBus session bus. Therefore it is necessary to run Flush in a single session bus
(usual in X session bus) to prevent running several instances with one configuration path.
Please notice that when you are running Flush from console or by cron, when DISPLAY environment variable is not available, Flush finds
already running GUI instance without problems via ${config_path}/dbus_session link, which all GUI instances are creating when they have
owned DBus name. This makes it possible to control running Flush GUI instances from cron.
AUTHOR
Flush was written by Dmitry Konishchev <konishchev@gmail.com>.
This manual page was written by Dmitry Konishchev <konishchev@gmail.com>.
Jun 11, 2009 FLUSH(1)