Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Is it possible to upload files from a Linux station to a remote server via HTTPS? Post 302942162 by Zooma on Friday 24th of April 2015 10:33:58 PM
Old 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

File Upload Performance using IE from Windows to Unix via HTTPS

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

File Upload Performance using IE from Windows to AIX via HTTPS

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

FTP multiple files from remote server to local server

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

copy files from remote server (B) to target server (A)?

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 script to download files from Secured HTTPS server?

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

Find files and upload to FTP Server

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

Script to get files from remote server to local server through sftp without prompting for password

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

Do I require remote login access to a windows server to transfer files from a UNIX server

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

Script connect to remote server, not find files and exit only from remote server, but not from scrip

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
rrpc_inq_stats(3ncs)													      rrpc_inq_stats(3ncs)

Name
       rrpc_inq_stats - obtain statistics about a server

Syntax
       #include <idl/c/rrpc.h>

       void rrpc_$inq_stats(handle, max_stats, stats, l_stat, status)
       handle_t handle;
       unsigned long max_stats;
       rrpc_$stat_vec_t stats;
       unsigned long *l_stat;
       status_$t *status;

Arguments
       handle	 A remote procedure call (RPC) handle .

       max_stats The maximum number of elements in the array of statistics.

       stats	 An  array  of 32-bit integers representing statistics about the server.  A set of rrpc_$sv constants defines indices for the ele-
		 ments in this array.  The following list describes the statistic indexed by each rrpc_$sv constant:

		   rrpc_$sv_calls_in
			     The number of calls processed by the server.

		   rrpc_$sv_rcvd
			     The number of packets received by the server.

		   rrpc_$sv_sent
			     The number of packets sent by the server.

		   rrpc_$sv_calls_out
			     The number of calls made by the server.

		   rrpc_$sv_frag_resends
			     The number of fragments sent by the server that duplicated previous sends.

		   rrpc_$sv_dup_frags_rcvd
			     The number of duplicate fragments received by the server.

       l_stat	 The index of the last element in the returned array.

       status	 The completion status.  If the completion status returned in is equal to status_$ok , then the routine that supplied it was  suc-
		 cessful.

Description
       The routine returns an array of integer statistics about a server.

Restrictions
       On  the	client	side,  because	of the way the calls are defined and implemented in the run-time library you must explicitly call into the
       entry point vector table for the interface to send an request across the network. The following is an example  of  a  call  that  works	as
       desired:
       (*rrpc_$client_epv.rrpc_$inq_stats)(handle,
	       (unsigned long) max_stats, stats, &l_stat ,&status);

       The server sidestub routine calls the entry oint on behalf of the client.  The results of the call are then passed back to the client.

Files
See Also
       intro(3ncs)

															      rrpc_inq_stats(3ncs)
All times are GMT -4. The time now is 05:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy