LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2019, 09:21 AM   #1
satyarankireddy
Member
 
Registered: Mar 2019
Posts: 45

Rep: Reputation: Disabled
File Download from Msoffice 365 cloud (SharePoint) using wget command in linux


Hello Experts,

I am trying to download a file from MSOffice 365 cloud using wget command in Linux. Request to has to redirect to via proxy and reach to destination URL.

I have used below command to download a file but no luck keeps on getting 403 error.


http_proxy=http://10.10.19.143:8080/ wget --http-user=test365@company.onmicrosoft.com --http-password=xxxxxx-p -r -l 8 --no-remove-listing -P . https://company.sharepoint.com/kites...month_port.csv


ERROR message:
Connecting to 10.10.19.143:8080... connected.
Proxy request sent, awaiting response... 403 FORBIDDEN
2019-10-10 14:21:15 ERROR 403: FORBIDDEN.

can anyone help on this ?

Thanks,
RR
 
Old 10-10-2019, 09:49 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,190

Rep: Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476
Quote:
Originally Posted by satyarankireddy View Post
Hello Experts,
I am trying to download a file from MSOffice 365 cloud using wget command in Linux. Request to has to redirect to via proxy and reach to destination URL.

I have used below command to download a file but no luck keeps on getting 403 error.


http_proxy=http://10.10.19.143:8080/ wget --http-user=test365@company.onmicrosoft.com --http-password=xxxxxx-p -r -l 8 --no-remove-listing -P . https://company.sharepoint.com/kites...month_port.csv


ERROR message:
Connecting to 10.10.19.143:8080... connected.
Proxy request sent, awaiting response... 403 FORBIDDEN
2019-10-10 14:21:15 ERROR 403: FORBIDDEN.

can anyone help on this ?
Your proxy server is telling you that you can't connect. So your login or password is wrong....fix it. Check your command syntax.

And again, as said before, do basic research before posting
 
Old 10-10-2019, 03:58 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,222

Rep: Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196
https://stackoverflow.com/questions/...proxy-for-wget
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cloud 5: Dispelling cloud myths, the cloud security excuse, and the fight for cloud supremacy LXer Syndicated Linux News 0 06-20-2014 04:12 PM
LXer: Cloud 5: NSA not killing cloud, cloud IT jobs, rise of cloud brokers LXer Syndicated Linux News 0 03-02-2014 09:51 AM
LXer: Cloud 5: Netflix's cloud-connected brain, 5 cloud myths and from cloud to fog LXer Syndicated Linux News 0 02-21-2014 02:20 PM
LXer: It's a cloud, cloud, cloud, cloud world LXer Syndicated Linux News 0 07-23-2013 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration