04-24-2015
Is it possible to upload files from a Linux station to a remote server via HTTPS?
Hi,
I have a small Linux device that measures some IP stats from one network and then generates some stats files (csv format) based on the input at certain times. I want those stats files to be transmitted to a remote server a couple of times per day.
The Linux device is placed in a location where I have no control over the firewall settings. FTP/SFTP might or might not work, and those ports could be shut down at any time (that's controlled by another company). HTTP and HTTPS will always work fine though, so I wonder if someone knows if I could use HTTPS to transfer the files in some way? Or is there a better/smarter way to do it?
Thanks!
Z
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Is there any performance issue uploading a file
using IE from Windows client to UNIX server via HTTPS?
Before that, we were using HTTP protocol and everything run smooth
Once we change to HTTPS, we might hit the "HTTP 500 Internal server error"
Even though this does not happen all the... (1 Reply)
Discussion started by: darontan
1 Replies
2. AIX
Hi,
Is there any performance issue uploading a file
using IE from Windows client to AIX WAS server via HTTPS?
Before that, we were using HTTP protocol and everything run smooth
Once we change to HTTPS, we might hit the "HTTP 500 Internal server error"
Even though this does not happen all... (1 Reply)
Discussion started by: darontan
1 Replies
3. Shell Programming and Scripting
Hi,
I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies
4. Shell Programming and Scripting
Hi All,
what is the comand to log off the remote server?
I have 2 servers A, B. I need to find all files older than 7 days on server B and copy over to server A. My logic is:
login the remote server:
=================
ssh hostB
cd /data/test
find . -mtime -7 -ls | awk '{print... (4 Replies)
Discussion started by: Beginer0705
4 Replies
5. Shell Programming and Scripting
curl -# -v -d "sendusername=myname&password=mypassword&wheretogo=download.php" -L -o test.zip http://www.ims-dm.com/cgi/securedownload.php?p=HIREFTPM\&prodtype=hire/test.zip
* About to connect() to www.ims-dm.com port 80
* Trying 209.61.193.139... connected
* Connected to www.ims-dm.com... (1 Reply)
Discussion started by: laknar
1 Replies
6. Shell Programming and Scripting
HI,
I need a script to find new files that created after 6:00 from /home/ugh /demo/conn /UAT/d01 and upload them into ftp server according to system date:
Please help me (1 Reply)
Discussion started by: refra
1 Replies
7. Solaris
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies
8. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
9. Shell Programming and Scripting
I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code
TARFILE=${NAME}.tar
TARGZFILE=${NAME}.tar.gz
ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT DEBIAN
debian::l10n::debconf
Debian::L10n::Debconf(3pm) User Contributed Perl Documentation Debian::L10n::Debconf(3pm)
NAME
Debian::L10n::Debconf - translation status of Debconf templates
SYNOPSIS
use Debian::L10n::Debconf;
my $tmpl = Debian::L10n::Debconf->new();
$tmpl->read_compact($file);
my @languages = $tmpl->langs();
foreach (sort @languages) {
my ($t,$f,$u) = $tmpl->stats($_);
print "$_:${t}t${f}f${u}u
";
}
DESCRIPTION
This module extracts informations about translation status of Debconf templates files.
METHODS
new This is the constructor.
my $tmpl = Debian::L10n::Debconf->new();
read_compact
Read a templates file containing all translations. An optional second argument may be used, any non-zero value tells that this file
comes with translations in other files. In such a case no warning is raised if this file contains translated fields, because
maintainer is assumed to be responsible for such translations.
$tmpl->read_compact($file);
read_dispatched
Read templates contained in several files. First argument is the English file, all other arguments are translated templates files.
@trans = qw(templates.de templates.fr templates.ja templates.nl);
$tmpl->read_dispatched('templates', @trans);
langs
Return the languages in which this templates file is translated.
my @list = $tmpl->langs();
filename
When templates are dispatched into several files, return the filename in which the language passed as argument is found.
my $filename = $tmpl->filename("de");
count
Return the number of translatable strings in this templates file.
my $number = $tmpl->count();
stats
With an argument, return an array consisting of the number of translated, fuzzy and untranslated strings for the language given as
argument. Without argument, return a hash array indexed by language and returning an array of the number of translated, fuzzy and
untranslated strings.
my ($t, $f, $u) = $tmpl->stats("de");
my %stats = $tmpl->stats();
foreach (keys %stats) {
print $_.':'. $stats{$_}->[0].'t'.$stats{$_}->[1].'f'.
$stats{$_}->[2]."u
";
}
entries
Return an array containing all Debconf ids found in this templates file.
my @ids = $tmpl->entries();
AUTHOR
Copyright (C) 2001 Denis Barbier <barbier@debian.org>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
perl v5.14.2 2011-03-30 Debian::L10n::Debconf(3pm)