The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UNIX - SCP File Transfer vijaykrc UNIX for Advanced & Expert Users 9 04-27-2009 06:03 AM
Transfer FILE from UNIX to WIN2000/XP ZINGARO Shell Programming and Scripting 2 08-11-2006 07:38 PM
File Upload Performance using IE from Windows to Unix via HTTPS darontan UNIX for Dummies Questions & Answers 1 10-28-2005 03:04 AM
HTTPS connection unix rkumar28 UNIX for Advanced & Expert Users 2 06-24-2004 08:20 PM
File transfer from unix to NT box? jvacc IP Networking 10 06-28-2001 05:44 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-22-2008
jvjaimes jvjaimes is offline
Registered User
  
 

Join Date: May 2008
Posts: 6
file transfer from https to a Unix box

Hi,

I want to transfer a file from a https side to an unix machine, somebody can let me know a easy way to do so, A simple script to be put in the unix machine to retrieve the file from the https side

Thanks
  #2 (permalink)  
Old 05-27-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
Can be done in many ways, I guess, curl, wget, etc. Quick examples :
Code:
curl -vvv -c cookie -k -u user:pass https://hostname.com; curl -v -b cookie -k -O https://hostname.com/folder/file.name; rm -f cookie
This is curl powered one-liner, just replace the user, pass, hostname and path to file name.
With wget it's even more easy -
Code:
wget https://hostname.com/FileName
- shall you need the user and password authentication, take a look at the wget man pages for "--http-user=user" and "--http-password=password"
  #3 (permalink)  
Old 05-27-2008
jvjaimes jvjaimes is offline
Registered User
  
 

Join Date: May 2008
Posts: 6
Hi,
thank you for your help, but i still need some assistence from you, because i can not run in the server any of this commands neither curl not wget, i am receiving command not found, please let me know what can i do to solve this issue
  #4 (permalink)  
Old 05-27-2008
Cameron's Avatar
Cameron Cameron is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 500
You may need to install the package onto your system.

wget can be found here.
Download from the wget-latest.tar.gz link - bottom of page.

curl can be found here.
Look for the one you need - there's a few

Cheers,
Cameron
  #5 (permalink)  
Old 07-21-2008
jvjaimes jvjaimes is offline
Registered User
  
 

Join Date: May 2008
Posts: 6
hi,

is there another way to do the same without install anything additional in the server?

Regards

Jose
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0