seahpc
asked on
fttp grab from shell script
hi anyone out there know how to write a shell script that does a http grab from a site with username and password authentication.
thanks
thanks
It depends on what kind of username and password authentication. Is it the kind where a window pops up in between page loads, asking for just the username and password? Or are they entered on the page itself?
If it's the first, wget is an option.
wget --http-user=username --http-passwd=password http://someserver.com/somefile.jpg
If it's the first, wget is an option.
wget --http-user=username --http-passwd=password http://someserver.com/somefile.jpg
ASKER
ya. i am trying to download files. if i go by the browser, a pop window will prompt me to enter the username and password.
what i need is a unix shell script to download the file thru http
what i need is a unix shell script to download the file thru http
ping
Could you use php?
take a look on google.com and search for ftp php, I've just done it and there's load of stuff available...
Regards Mike
www.unixonline.co.uk
take a look on google.com and search for ftp php, I've just done it and there's load of stuff available...
Regards Mike
www.unixonline.co.uk
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question appears to have been abandoned. Your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question. Again, you must tell the other participants why you wish to do this.
Please click this Help Desk link for Member Guidelines, Member Agreement and the Question/Answer process: Click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues.
https://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp
PLEASE DO NOT AWARD THE POINTS TO ME.
__________________________ __________ _____
------------> EXPERTS:
Please leave any comments regarding this question here on closing recommendations if this item remains inactive another three days.
Thank you everyone.
Moondancer
Community Support Moderator @ Experts Exchange
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question. Again, you must tell the other participants why you wish to do this.
Please click this Help Desk link for Member Guidelines, Member Agreement and the Question/Answer process: Click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues.
https://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp
PLEASE DO NOT AWARD THE POINTS TO ME.
__________________________
------------> EXPERTS:
Please leave any comments regarding this question here on closing recommendations if this item remains inactive another three days.
Thank you everyone.
Moondancer
Community Support Moderator @ Experts Exchange
Thanks for returning and finalizing this. However, you didn't add comments as to why the grade was less than an "A". Experts here take great pride in delivering excellent solutions, and if they fall short really appreciate know about it. If this was graded in error, also please let me know that since I can correct this.
The grades you assign remain the same point cost to you, however, the impact to the experts is directly related to the grade. For example, expert points for this question were a "C" grade and therefore 100 X 2 for 200, a B would have been 300 and an A would have been 400 expert points.
I see more "C" grades in your history than any others, and am curious if you really feel that the experts at this site provides only that level of expertise and support. Many experts actually look at Asker history before deciding to step in and help.
More about this on the HELP DESK link to the left.
Thanks,
EE Moderator
The grades you assign remain the same point cost to you, however, the impact to the experts is directly related to the grade. For example, expert points for this question were a "C" grade and therefore 100 X 2 for 200, a B would have been 300 and an A would have been 400 expert points.
I see more "C" grades in your history than any others, and am curious if you really feel that the experts at this site provides only that level of expertise and support. Many experts actually look at Asker history before deciding to step in and help.
More about this on the HELP DESK link to the left.
Thanks,
EE Moderator
======
Werner