9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have few files at FTP location and have written a script to download the same from ftp based on the sysdate - 1, however with the below code I am unable to download the files from FTP.
x=`TZ=CST+24 date +%Y%m%d`
mget Daily_BIH_$x_NEW.tar.gz
can anyone please help me in... (10 Replies)
Discussion started by: rramkrishnas
10 Replies
2. AIX
I need to find out list of installed patches from given list of patches.
I have tried using instfix -f <File containing list of patches> -i -c
But I was not able to understand the output of this command. It was like below.
bos.perf.tools: :0.0.0.0:?:
bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 Replies
3. HP-UX
Hi,
I am having some issues setting up and using swa report and swa get. When I use
"swa report -a SEC -a CRIT -x hp_id username -x hp_pw pword -x proxy=http://proxservername:8080"
the report is generated, etc as expected.
However when I execute
"swa get -t /var/spool/sw/ -x... (1 Reply)
Discussion started by: seanm
1 Replies
4. Shell Programming and Scripting
Dear all,
I am beginner to shell scripting.
I have to download more than 1k files from ftp site.
link is below
ftp://ftp.ncbi.nih.gov/genomes/Bacteria/
Earlier i was using wget url, for download but the problem is some times folder names get changed, i don't know how to move in directories... (4 Replies)
Discussion started by: admax
4 Replies
5. AIX
Hello,
I am trying to configure an AIX machina to authenticate against a Windows 2003 AD, and I am desesperately trying to find the ldap.client lpp
in the internet.
I am using AIX 5.3 and I don't have access to the DVD media,
please help!
Thankyou,
Tiago (2 Replies)
Discussion started by: tiagoskid
2 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I know this is probably a very silly question for most but how to do I force curl to do active FTP downloads?
Thank you
Dallas (2 Replies)
Discussion started by: Dallasbr
2 Replies
7. HP-UX
from windows ftp tool even you are not root user you can delete root files (8 Replies)
Discussion started by: mkhsy
8 Replies
8. HP-UX
FROM WINDOWS , WHILE GETTING DATA FROM HP-UNIX SERVER USING FTP, I AM ABLE TO GET DATA ONLY LESS THAN 4GB FILE, PLZ HELP ME HOW TO GET MORE MORE THAN 4GB FILE. (4 Replies)
Discussion started by: niranjan
4 Replies
9. SuSE
I receive files by FTP in an input directory. Every 10 seconds a process checks if some new file has arrived to the input directory and then the process moves them to another directory to be read by a second process.
The problem is that there is no way to know if the download has finished... (11 Replies)
Discussion started by: Javi
11 Replies
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)