11-25-2006
I have seen on certain CTAN servers that they are offering "dynamic" archival download on their FTP servers. For the user, just select and download a single archive file. But at the FTP server, retrieving those phantom entries will automatically trigger a zipping transparently and return the zipped archive.
Not sure how they do this though.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am attempting to automate an ftp session in PERL by emulating the user and sending commands to ftp, but I am getting unexpected and unwanted results. Here is a portion code that illustrates the method I am attempting (this was just a shot in the dark):
system("(
echo open server
sleep 1... (2 Replies)
Discussion started by: murdaugh
2 Replies
2. Shell Programming and Scripting
Hi All, i want to have a ftp function in my perl but i am unfamailiar with the perl syntax. Can any body help ?
The ftp code below is in csh, can anybody help to convert this to perl with the same functionality ?
foreach t (10.10.10.10 20.20.20.20)
set USER = "xxx"
set PASS = "zzz"... (21 Replies)
Discussion started by: Raynon
21 Replies
3. Shell Programming and Scripting
My situations is I cannot use NET::ftp. So I need to have a way to automate ftp. I know how to do it in ksh:
#!/usr/bin/ksh
ftp -i -v -n $host_name <<_FTP >> $log_file 2>&1
user $user_name
lcd $local_dir
cd $remote_dir
put $file_name
bye
_FTP
But how can I do it in perl?
Note:... (6 Replies)
Discussion started by: egyfan
6 Replies
4. Shell Programming and Scripting
I am trying to execute a script in another server, i used Net::Ftp module
How to execute unix command in another server by using Net::Ftp module..
#!/usr/bin.perl
### Perl script to
$ftp->login($user_name,'password')
or die "Cannot login ", $ftp->message;... (2 Replies)
Discussion started by: pritish.sas
2 Replies
5. Shell Programming and Scripting
this script should search directories read,,search for file for daily reports. you must provide the beginning day, ending day and month.
this script will pull files for days and month specified and Ftp them to another server.
Thanks for any help you provide (2 Replies)
Discussion started by: lemseffert
2 Replies
6. Shell Programming and Scripting
Hi Experts,
I have this requirement to list dirs and files of an FTP server on regular basis.
I was able to do it by following script:
$ftpobj = Net::FTP -> new ("$ftpsrv") || die "Cannot connect to FTP $ftpsrv";
$ftpobj -> login("user","passwd");
$ftpobj -> cwd ("/root_dir");
@rootdir... (1 Reply)
Discussion started by: mtomar
1 Replies
7. Shell Programming and Scripting
Hi,
I have three files in this /home/mani/ location. I would like to ftp to another server.
could you please give perl for that requirement.
Thanks,
Mani (10 Replies)
Discussion started by: Mani_apr08
10 Replies
8. HP-UX
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies
9. Shell Programming and Scripting
Hi,
Can anyone help me to start a monitoring script in perl of a FTP server. (2 Replies)
Discussion started by: phanik143
2 Replies
10. Shell Programming and Scripting
plz cancel the message
I have provide the credentials in the .netrc file for the user id kiwis_us\ftp_dev. when I tried to connect manually it connected. But when I tried through perl the user id is not coming with the slash. do you have any how I need to give it in the .netrc file. (0 Replies)
Discussion started by: ramkumar15
0 Replies
LEARN ABOUT MOJAVE
curlopt_maxfilesize_large
CURLOPT_MAXFILESIZE_LARGE(3) curl_easy_setopt options CURLOPT_MAXFILESIZE_LARGE(3)
NAME
CURLOPT_MAXFILESIZE_LARGE - maximum file size allowed to download
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAXFILESIZE_LARGE,
curl_off_t size);
DESCRIPTION
Pass a curl_off_t 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.
DEFAULT
None
PROTOCOLS
FTP and HTTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.11.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO
CURLOPT_MAXFILESIZE(3), CURLOPT_MAX_RECV_SPEED_LARGE(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_MAXFILESIZE_LARGE(3)