07-11-2008
For scheduling the file's transfer use cron manager, or whatever is available under Ubuntu. For the FTP transfer - what have you done so far ? Should this task be script, if yes, what language you have knowledge in ? Else, you can always look at the forum's base, there are many examples on how to automate file transfer via shell script for example.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How would you convert lets say a 1000 minutes to hours, minutes, seconds (1 Reply)
Discussion started by: Vozx
1 Replies
2. HP-UX
Hi All,
I have an issue in writing the shell script to install a webserver on UNIX system. My shell script look something like this.
------------------------------------------------------------
echo "start of the script"
#! /bin/sh
cd /home/path
echo | setup.hp -is:javaconsole -console... (1 Reply)
Discussion started by: vishalm
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to move a certain number of files every 10 minutes from one folder to another. I have written the script below, however its not working, please advise.
#! /bin/ksh
start()
{
mv /test1/$(head -1000 /movetst) /test2/
sleep 600
}
stop()
{
exit
}
ls ti* >... (1 Reply)
Discussion started by: amitsayshii
1 Replies
4. Shell Programming and Scripting
KSH:
Please lt me know how to find the age of a file in minutes(Based on last modified time).
ie, if the file was modified 15 Minutes ago, the output should be 15 (1 Reply)
Discussion started by: hari_anj
1 Replies
5. Shell Programming and Scripting
Hi all,
I've got a grep command, in which the value (a number) is being appended into a file. Such file will have this output:
100
105
300
204
150
...
...
120
113
124
This file will continue to append, since the grep line runs every 10 seconds. Is there a way to stop the file... (5 Replies)
Discussion started by: Wizard_1979
5 Replies
6. Shell Programming and Scripting
RHEL 5.8
In the directory /u03/pkms/app_logs I have several hundreds of log files as shown below.
$ pwd
/u03/pkms/app_logs
$ ls -alrt *.log | tail -50
-rw-r----- 1 oracle dba 9439232 May 4 13:57 mvtpcem_1_722892404_94157.log
-rw-r----- 1 oracle dba 9227264 May 4 13:57... (8 Replies)
Discussion started by: kraljic
8 Replies
7. UNIX for Beginners Questions & Answers
Hi, please help with below time conversion to minutes.
one column values:
2 minutes 16 seconds 420 msec
43 seconds 750 msec
0 days 3 hours 29 minutes 58 seconds 480 msec
11 seconds 150 msec
I need output in minutes(total elapsed time in minutes) (2 Replies)
Discussion started by: ramu.badugula
2 Replies
8. Shell Programming and Scripting
Hi all,
System Ubuntu 16.04.3 LTS
i have the following log
INFO 2019-02-07 15:13:31,099 module.py:700] default: "POST /join/8550614e-3e94-4fa5-9ab2-135eefa69c1b HTTP/1.0" 500 2042
INFO 2019-02-07 15:13:31,569 module.py:700] default: "POST /join/6cb9c452-dcb1-45f3-bcca-e33f5d450105... (15 Replies)
Discussion started by: charli1
15 Replies
9. Shell Programming and Scripting
Hello all,
Info:
System RedHat 7.5
I need to create a script that based on the creation time,
if the file is older then 5 minutes then execute some stuff, if not exit.
I thought to get the creation time and minutes like this.
CreationTime=$(stat -c %y /tmp/test.log | awk -F" " '{ print... (3 Replies)
Discussion started by: charli1
3 Replies
10. UNIX for Beginners Questions & Answers
- run a backup job
- The jobs creates partial files one after the other, about 2 minutes interval.
What i want to do is that while the job is still running or while a file was last modified or created 3 minutes ago, the
file should be rsync to a remote server untill the last file has been... (4 Replies)
Discussion started by: malaika
4 Replies
LEARN ABOUT MOJAVE
curlopt_maxfilesize
CURLOPT_MAXFILESIZE(3) curl_easy_setopt options CURLOPT_MAXFILESIZE(3)
NAME
CURLOPT_MAXFILESIZE - maximum file size allowed to download
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAXFILESIZE, long size);
DESCRIPTION
Pass a long as parameter. This allows you to specify the maximum size (in bytes) of a file to download. If the file requested is found
larger than this value, the transfer will not start and CURLE_FILESIZE_EXCEEDED will be returned.
The file size is not always known prior to download, and for such files this option has no effect even if the file transfer ends up being
larger than this given limit. This concerns both FTP and HTTP transfers.
If you want a limit above 2GB, use CURLOPT_MAXFILESIZE_LARGE(3).
DEFAULT
None
PROTOCOLS
FTP and HTTP
EXAMPLE
TODO
AVAILABILITY
Always
RETURN VALUE
Returns CURLE_OK
SEE ALSO
CURLOPT_MAXFILESIZE_LARGE(3), CURLOPT_MAX_RECV_SPEED_LARGE(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_MAXFILESIZE(3)