Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script for FTP over SSL

Status
Not open for further replies.

aswolff

Programmer
Jul 31, 2006
100
US
Hello,

I need to automate an FTP session over SSL. Not sure if anybody else has done this and can provide some guidance.

Thanks.
 

Try sftp [3eyes]



----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
sftp is ftp over ssh and is not an option.


 

Maybe this document may help. [noevil]


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Curl and wget are command line URL getters, wget is more popular but does not support ftps (I think wget only supports http, https and ftp). Curl supports ftps, implicit & explicit modes, examples:

Get a file off an FTPS server:

curl ftps://files.are.secure.com/secrets.txt

or use the more appropriate FTPS way to get the same file:

curl --ftp-ssl ftp://files.are.secure.com/secrets.txt
 
Hi,

I think you mean sftp connections without giving password.
If so, google "ssh without password" and surf over displayed links
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top