LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2013, 08:55 PM   #1
bweddell
LQ Newbie
 
Registered: Jul 2011
Posts: 11

Rep: Reputation: Disabled
FTPES command line client?


I'm running CentOS 5.9. I use curl to send files via script to a FTPS server.

Now I need to send files via script to a FTPES server (FTP, Explicit, SSL, port 21).

From wikipedia: In explicit mode (also known as FTPES), an FTPS client must "explicitly request" security from an FTPS server and then step-up to a mutually agreed encryption method. If a client does not request security, the FTPS server can either allow the client to continue in unsecure mode or refuse/limit the connection.

curl doesn't support FTPES and when trying with lftp I get a message stating it wasn't support either.

Commands used:
curl -u useraccount -P 21 ftpes://someserver.domain.com
Enter host password for user 'useraccount':
curl: (1) Unsupported protocol: ftpes

lftp -u useraccount -p 21 ftpes://someserver.domain.com
/usr/lib64/lftp/3.7.11/proto-ftpes.so: cannot open shared object file: No such file or directory
lftp: ftpes - not supported protocol

Does anyone know of a command line tool for the job or a workaround?

Thanks in advance!
 
Old 05-24-2013, 02:10 AM   #2
bloodstreetboy
Member
 
Registered: May 2012
Posts: 201
Blog Entries: 3

Rep: Reputation: 37
curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user interaction.

BUT I haven't found FTPES in above list. I am not sure curl can do this or not.

Have you tried?
Code:
$ curlftpfs -o ssl -o ssl_control -o no_verify_hostname -d username:password@xxx.xxx.xxx.xxx:port /home/user/folder/
or
Code:
$ sudo curlftpfs -o tlsv1 -o ssl_control -o no_verify_hostname -o no_verify_peer -o allow_other user:mdp@host mountpoint
 
  


Reply



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
ftp command line client - run multiple ftp commands in one line dlugasx Linux - Server 1 09-13-2012 06:24 AM
BitTorrent Client [Command Line] UltimatePower Linux - Software 3 04-16-2007 07:00 PM
GoogleTalk command line client introuble Linux - Software 3 11-07-2006 12:53 PM
command-line RSS client? prell Linux - Software 1 07-18-2005 09:58 AM
Command Line FTP Client Donald1000 Linux - Software 3 09-19-2003 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:11 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