PS. I can only use cmdline utils, and remote admins suggest I use Filezilla or LFTS, however, my admin suggested I use cUrl. Honestly, I wish to simply use scp, but you know, I can't lol.
PSS.
what was said from remote admin:
Quote:
We only support FTPS for all vendors. We do have SFTP but used for other Third party partners.
PSSS. my response:
Quote:
I do not have LFTP, and FleZilla, nor is our HPUX supported anymore, and is on it's way out in 4 months. There is no GUI, this must be a cmdline crontab entry.
I am at your mercy Unix Gods, suggestions are completely welcome.
---------- Post updated at 11:58 AM ---------- Previous update was at 11:15 AM ----------
---------- Post updated at 12:00 PM ---------- Previous update was at 11:58 AM ----------
it just hangs, i get no reply/anything from remove server:
Hi All
I want some help in writing a script that will:
1. Implicitly ping a server to see if it is up or not. (I have blocked all ICMP traffic on that box)
2. if the server is down send an alert mail to users
I have looked and looked but I could not get any way to do this. What I have... (2 Replies)
only wanted to know .. if I have some tivoli jobs running with different user .. will this mean that everytime the job invokes .. the .profile runs for that user ... or is it that the .profile runs only at explicit LOGINs ...
e.g if a cron calls a job under some user, does it run the .profile of... (1 Reply)
We have a requirement to setup secure ftp between our AIX v5.3 system and
our mainframe. We don't want to use openssh with sftp and scp. Our mainframe uses ftp over ssl/tls so we have to use this on our AIX box. We have openssl on our AIX system but I'm not sure how to setup ssl/tls over ftp
on... (4 Replies)
Hi,
I'm tying to use the following function to reboot the system as part of my code
#include <unistd.h>
#include <linux/reboot.h>
int restart(unsigned int delay)
{
sleep(delay);
return reboot(LINUX_REBOOT_CMD_RESTART);
}
When I try to compile the code I get the warning in the... (2 Replies)
Hi,
I'm having issues with implicit dependencies for my RPM package. This is the error I'm getting:
error: Failed dependencies:
libclntsh.so.11.1()(64bit) is needed by geomatica-10.4-0.x86_64
Our software has a dynamically loaded library which links to the Oracle's libclntsh.so.11.1... (2 Replies)
Here are the essentials:
un: myuser
pw: mypasswd
site: sftp.somesite.com
port: 990
type: FTPS
enc: FTP over implicit TLS
program used:
Curl 7.1.x on Hpux 11.31
I would like to "put" 1 file on there server.
Here is my syntax, what am I doing wrong?
curl -3 -v --cacert... (5 Replies)
We are implementing CUPS on a new Solaris 11.3 system. The same system will run an application where users can print to networked printers inside our organisation, or to a printer outside of our organisation over the internet.
For users printing to internal network printers, no encryption is... (0 Replies)
Discussion started by: SallyB
0 Replies
LEARN ABOUT MOJAVE
curlopt_filetime
CURLOPT_FILETIME(3) curl_easy_setopt options CURLOPT_FILETIME(3)NAME
CURLOPT_FILETIME - get the modification time of the remote resource
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FILETIME, long gettime);
DESCRIPTION
Pass a long. If it is 1, libcurl will attempt to get the modification time of the remote document in this operation. This requires that the
remote server sends the time or replies to a time querying command. The curl_easy_getinfo(3) function with the CURLINFO_FILETIME(3) argu-
ment can be used after a transfer to extract the received time (if any).
DEFAULT
0
PROTOCOLS
HTTP, FTP, SFTP, FILE
EXAMPLE
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, url);
/* Ask for filetime */
curl_easy_setopt(curl, CURLOPT_FILETIME, 1L);
res = curl_easy_perform(curl);
if(CURLE_OK == res) {
res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
if((CURLE_OK == res) && (filetime >= 0)) {
time_t file_time = (time_t)filetime;
printf("filetime %s: %s", filename, ctime(&file_time));
}
}
/* always cleanup */
curl_easy_cleanup(curl);
}
AVAILABILITY
Always, for SFTP since 7.49.0
RETURN VALUE
Returns CURLE_OK
SEE ALSO curl_easy_getinfo(3),
libcurl 7.54.0 April 03, 2017 CURLOPT_FILETIME(3)