05-23-2015
Yes. Use something like the
curl(1) command.
This User Gave Thanks to frank_rizzo For This Post:
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 SUSE
curl_easy_escape
curl_easy_escape(3) libcurl Manual curl_easy_escape(3)
NAME
curl_easy_escape - URL encodes the given string
SYNOPSIS
#include <curl/curl.h>
char *curl_easy_escape( CURL *curl, char *url, int length );
DESCRIPTION
This function converts the given input string to an URL encoded string and returns that as a new allocated string. All input characters
that are not a-z, A-Z or 0-9 are converted to their "URL escaped" version (%NN where NN is a two-digit hexadecimal number).
If the length argument is set to 0 (zero), curl_easy_escape(3) uses strlen() on the input url to find out the size.
You must curl_free(3) the returned string when you're done with it.
AVAILABILITY
Added in 7.15.4 and replaces the old curl_escape(3) function.
RETURN VALUE
A pointer to a zero terminated string or NULL if it failed.
SEE ALSO
curl_easy_unescape(3), curl_free(3), RFC2396
libcurl 7.15.4 7 April 2006 curl_easy_escape(3)