10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
My question is about curl command. (ubuntu14.04)
In terminal, I am able to download my mainfile with:
curl -u user1:pass1 http://11.22.33.44/*******
When I convert it into bash script like this:
#!/bin/bash
cd /root/scripts
computer_ip=11.22.33.44
curl -u $1:$2... (8 Replies)
Discussion started by: baris35
8 Replies
2. Shell Programming and Scripting
I am using the below curl command to download a single file from client server and it is working as expected
curl --ftp-ssl -k -u ${USER}:${PASSWD} ftp://${HOST}:${PORT}/path/to/${FILE} --output ${DEST}/${FILE}
let say the client has 3 files hellofile.101, hellofile.102, hellofile.103 and I... (3 Replies)
Discussion started by: r@v!7*7@
3 Replies
3. UNIX for Dummies Questions & Answers
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... (1 Reply)
Discussion started by: Zooma
1 Replies
4. Solaris
Hi Guys,
I have recently started reciving below Error message
Failed HTTPS transfer to https://supportfiles.sun.com/curl
whenever I run
/usr/local/bin/sudo /opt/SUNWexplo/bin/explorer -P -q -v
from all Servers.
Looks like the SSL certificate as Expired.
Whenever I type... (4 Replies)
Discussion started by: manalisharmabe
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
For an order I requested, the provider has uploaded a tar file in public FTP site which internally has tons of files (compressed) and I need to download files that follows particular pattern which would be few hundreds.
Note: The order can't be requested for files that follows the... (7 Replies)
Discussion started by: Amalan
7 Replies
6. Shell Programming and Scripting
Hello all,
I have been struggling with this issue on and off for a couple of weeks now and I just got it all working, so I wanted to share my findings in case some other poor soul needs to know how. First some background on what I'm doing. I am uploading files to different directories based on... (0 Replies)
Discussion started by: msjkadams
0 Replies
7. UNIX for Advanced & Expert Users
Hi,
I was trying to connect secure server using SFTP, but end up in error. Im looking for a shell script which will connect my secured FTP server
For EG:
hostname = example.com
username = fed
password = pass
port = 993
Destination = web
Push some tar file into web folder which is in... (3 Replies)
Discussion started by: Paulwintech
3 Replies
8. UNIX for Advanced & Expert Users
Hi
I'm trying to download an xml file from a https server using curl on a Linux machine with Ubuntu 10.4.2
I am able to connect to the remote server with my username and password but the output is only "Virtual user <username> logged in".
I am expecting to download the xml file.
My output... (4 Replies)
Discussion started by: henryN
4 Replies
9. Shell Programming and Scripting
hi
please help me out here,
i want to use curl command in shell script to test web pages,
what i have is an opening page, when i click on a button on opening page, the next page comes up and then i have to upload a file n then click another button to submit and then comes the output page,... (2 Replies)
Discussion started by: Olivia
2 Replies
10. Shell Programming and Scripting
There is a folder which can be accessed through URL by giving a particular Username and Password.Inside the folder there are few excel sheets.The excel sheets/folder need to be imported from there to unix box with the help of unix shell script.
Can anyone help me?Does anyone have code for it?... (2 Replies)
Discussion started by: vanur
2 Replies