FTPS Connection script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting FTPS Connection script
# 1  
Old 04-13-2015
FTPS Connection script

I have a requirement for which I had to connect to a server using FTPS. I have been provided with these,

connection method: FTPS
Server Name
Port for explicit and implicit
Login user

I would like to know the FTPS command/script in order to connect to there server and get a file.

Appreciate your help.
# 2  
Old 04-14-2015
I would suggest that you look at the man page on your server for the FTPS command. None of the servers I use have an ftps command; although most of the servers I use have an sftp command.
# 3  
Old 04-14-2015
ftps does exist, though is rare -- pretty much pure FTP in an SSL tunnel. Occasionally used in some IBM or mainframe things. I agree sftp seems more likely.
# 4  
Old 04-14-2015
Does FTPS has its own command or can we use SFTP instead.
I looked it in the man page but didn't find anything (not found or installed).
# 5  
Old 04-14-2015
If you don't have it installed, you're going to have an awful hard time using it.

If you don't understand the difference, you probably meant sftp.
# 6  
Old 04-14-2015
Do you have the lftp command available on your OS.

This is the Sophisticated file transfer program and supports FTPS.

Code:
$ lftp -e "get /path/to/your/file" -p portnum -u user,pass ftps://ftp.site.com

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Best way to transfer files to remote FTPS server instead of local FTPS server

Hi, I am working on an application which runs on an Informatica Red-Hat 5.10 Linux Server. The application involves several Informatica ETL workflows which generate 100s of Text files with lot of data. Many of the files will each be up to 5 GB in size. Currently the Informatica server itself... (7 Replies)
Discussion started by: waavman
7 Replies

2. UNIX for Dummies Questions & Answers

Ftps connection by ksh script

Hi, I'm trying to access to FTP SERVER over SSL with this script unix : (credentials are correct) #!/usr/bin/ksh USER="test" PASSWORD="pwdtest" IP="**.***.*.***" ftp -s $IP 990 << EOF >>log_ftp user $USER $PASSWORD bin passive EOF but seems that credentials are not passed... (2 Replies)
Discussion started by: nash83
2 Replies

3. UNIX for Dummies Questions & Answers

Query: How to install commercial cert into AIX and use it for FTPS connection

Hi Techies, I wish to check with everyone here something regarding Configuration of FTPS Server in AIX using Commercial Digital Cert instead of Sel Sign Cert. I'm working as system integration designer and I'm currently working on a interface which involves integration btw two systems using... (6 Replies)
Discussion started by: mkmuraly
6 Replies

4. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

5. Shell Programming and Scripting

FTPS Script to move a file to Unix Folder

Dear Experts, I need to connect to a FTPS Server and move the files from FTPS folder "/SAP/Out" to Unix directory "/SAP/In". I need to run this script on Unix directory...Script should get the files from FTPS folder and place that in specified Unix Directory. Thanks In Advance. (1 Reply)
Discussion started by: phani333
1 Replies

6. AIX

FTPS - FTP CLIENT- AIX - HELP Please

I'm currently investigating the secure ftp connection from AIX using shell script - It looks openssl is already install and don't know command to be used to connect the secure ftp server. 1. Do I need to install certificate on AIX ?. 2. If any one already design the script to connect secure... (0 Replies)
Discussion started by: dharanir
0 Replies

7. UNIX for Dummies Questions & Answers

2 ftps in script, second won't go to output file

I'm running this on both solaris and hp boxes, ftping from windows, then ftping to an aix machine. If I run the ftpReportFile by itself, I get info in the ftp_rpt_log. If I run just the 2 ftps together, I also get output. However, if I run the entire shell script, I don't get output from... (4 Replies)
Discussion started by: brdholman
4 Replies

8. AIX

Looking for ftps client

Anyone know of a good solid ftps client for AIX? I am attempting to use lftp but am having compile issues. I also ahve a binary but receive the following error when attempting to run it; exec(): 0509-036 Cannot load program ./lftp because of the following errors: 0509-150 Dependent... (4 Replies)
Discussion started by: zuessh
4 Replies

9. Solaris

FTPS : FTP with certificates

Does anyone know of any products that support FTPS (FTP with SSL). Or does anyone out there run this now? any experiences? This is particularly to support the Cuncur expense system, I don tknow if anyone works with them at all, but they dont support sftp, just ftps. Thanks,!! (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

10. Shell Programming and Scripting

Help needed in shell script for FTPS

Hi, Im trying to build a script to download files from a secure FTP site. When I run the command ftps <host_address> in the unix prompt, it asks username and password, and then prompts the following question. Do you want to trust this certificate? (y): From the prompt, I am able to type... (10 Replies)
Discussion started by: vidhya_vec
10 Replies
Login or Register to Ask a Question