dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
1281
share rss forum feed


SecureFTP

@199.19.94.x

FTPES or FTP w/"Require explicit FTP over TLS"

I am looking for an CLI based BASH SCRIPTABLE FTPES or ftp wtih "Require explicit FTP over TLS" support.

I currently use rsync with an SSH login to accomplish sync up two servers.. the new server doesn't support this, and is out of my control to change to this format.

NOTE: curlftpfs is deprecated, outdated, and not worked on in the last 5 years so is out!

Anything to get rsync to work with ftpes? Or even as a last resort https? Most report rsync won't work this way... so...

I currently use (sanitzed for security):

/usr/bin/rsync --progress -avzr --rsh="(ssh login)" host:dir syncdir
 

Works great... run it about every 3 hours syncs up the files...

Lots of links to adding ftpes to a proftpd server etc.. nothing specific to a CLIENT for ftpes.

Any one?

Thanks!


Archivis
Your Daddy
Premium
join:2001-11-26
Earth
kudos:19

What about sftp?



SecureFTP

@199.19.94.x

said by Archivis:
What about sftp?
Afraid not.. No shell access at all. so sftp is out ...the host supports only

https

or

FTPES w/"Require explicit FTP over TLS"


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL
kudos:2

sftp does not require shell access and in many administratively applied configurations shell access via ssh is disabled.



BitchX

@199.116.116.x
reply to SecureFTP

Man I was going to say "stunnel that bitch, Bitchez love stunnel" but you're having to deal with FTP !21 ftp-data ports which are client negotiated and can be ephemeral.

»www.youtube.com/watch?v=NT2eOGZzRGI


What about some unholy conjuring of https + webdav + rsync -- »tomalison.com/reference/2010/04/03/webdav/

Caveats - Bitches do not like webdav.

-BitchX


SecureFTP

@199.19.94.x
reply to graysonf

said by graysonf:
sftp does not require shell access and in many administratively applied configurations shell access via ssh is disabled.
The host supports

FTP w/Explicit TLS

OR

HTTPS

That is it..

No shell access period or any other access other than the above. Matter of fact they got quite testy when I tried sftp, rysnc etc... and they failed.. we got some very terse emails about "Don't do that again!"

I would use some one else but this host is not of my choosing and I am stuck will dealing with it. if sftp was allowed I would just use sftp and expect and script it that way... but it won't connect... this is how I found out the way this is set up.... I am not a happy camper... existing script dust... pain in the posterior protocol to use which is not scriptable...


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL
kudos:2

2 recommendations

I was just stating that sftp does not require user shell access to operate.



EUS
Kill cancer
Premium
join:2002-09-10
canada
Reviews:
·voip.ms

said by graysonf:

I was just stating that sftp does not require user shell access to operate.

This bears repeating.
--
~ Project Hope ~


BitchX

@199.116.116.x
reply to SecureFTP

lftp?

»lftp.yar.ru/desc.html

quote:
Lftp can also be scriptable, it can be used to mirror sites, it lets you
copy files among remote servers (even between FTP and HTTP). It has an
extensive online help. It supports bookmarks, and connecting to several
ftp/http sites at the same time.
It's in the repos for me on Ubuntu 12.04 LTS:

Package: lftp
Priority: optional
Section: net
Installed-Size: 1084
Maintainer: Ubuntu Developers
Original-Maintainer: Noël Köthe
Architecture: amd64
Version: 4.3.3-1
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libgnutls26 (>= 2.12.6.1-0), libreadline6 (>= 6.0), libtinfo5, netbase
Filename: pool/main/l/lftp/lftp_4.3.3-1_amd64.deb
Size: 457858
MD5sum: 50aa583ee99b352590f389299c017ae2
SHA1: 438d3e90eab00363ea4a68bdc1f5c18f40e08cc0
SHA256: f9d451908c6c414cb78981052513d4c622414478aa266194fe312b066c67d73b
Description-en: Sophisticated command-line FTP/HTTP client programs
 Lftp is a file retrieving tool that supports FTP, HTTP, FISH, SFTP, HTTPS
 and FTPS protocols under both IPv4 and IPv6. Lftp has an amazing set of
 features, while preserving its interface as simple and easy as possible.
 .
 The main two advantages over other ftp clients are reliability and ability
 to perform tasks in background. It will reconnect and reget the file being
 transferred if the connection broke. You can start a transfer in background
 and continue browsing on the ftp site. It does this all in one process. When
 you have started background jobs and feel you are done, you can just exit
 lftp and it automatically moves to nohup mode and completes the transfers.
 It has also such nice features as reput and mirror. It can also download a
 file as soon as possible by using several connections at the same time.
 .
 Lftp can also be scriptable, it can be used to mirror sites, it lets you
 copy files among remote servers (even between FTP and HTTP). It has an
 extensive online help. It supports bookmarks, and connecting to several
 ftp/http sites at the same time.
 .
 This package also includes lftpget - A simple non-interactive
 tool for downloading files.
Homepage: http://lftp.yar.ru/
Description-md5: fc619b0ad030a5994bbf00e9a9ff9a5a
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
 


Frank
is chilling
Premium
join:2000-11-03
somewhere
reply to SecureFTP

it sounds like you're looking for a ftpes client.

couldnt you just use cURL? (not curlftpfs, that seems to be something else entirely)

thier faq says it's supported and can be used for uploading and downloading of files using ftps.



SecureFTP

@199.19.94.x
reply to EUS

said by graysonf:
I was just stating that sftp does not require user shell access to operate.

said by EUS:
said by graysonf:
I was just stating that sftp does not require user shell access to operate.

This bears repeating.

This bears repeating.

Choice #1:

https

Choice #2:

FTP w/Explicit TLS

Everything else is disabled.

said by BitchX :
lftp?

»lftp.yar.ru/desc.html

quote:
Lftp can also be scriptable, it can be used to mirror sites, it lets you
copy files among remote servers (even between FTP and HTTP). It has an
extensive online help. It supports bookmarks, and connecting to several
ftp/http sites at the same time.

Thank you! I will look at lftp never heard of it...

propcgamer

join:2001-10-10
011010101
reply to SecureFTP

I'm surprised it took so long to say, but I second lftp.

It will do exactly what your looking for and is fairly straightforward to have it do rsync like mirroring.



BitchX

@199.116.116.x
reply to SecureFTP

said by SecureFTP :

Thank you! I will look at lftp never heard of it...

I've heard of it, but honestly, have never used it. I know you're in a unique captive situation so I hate to just toss things out there but this one seemed solid. I've never been in a situation like yours (as in, so restrictive) so I can appreciate the frustration with the dictated remote connectivity options. Keep us updated if you don't mind bro. I'm a huge fan of rsync, ncftp, nc, stunnel, etc but your situation is pretty unique and I appreciate the opportunity to learn more; this at least has pointed me to lftp.

-BitchX