Accessible ftp

Linux for blind general discussion blinux-list at redhat.com
Mon May 30 17:47:18 UTC 2022


Tim here again.  For FTP-over-TLS (also known as FTPS which
confusingly is different from SFTP), curl supports it well:

 $ curl --sl -T local.zip "ftps://ftp.example.com/path/to/dest/newname.zip"

to send a file and

 $ curl --ssl "ftps://ftp.example.com/path/to/file.zip"

to download a file.

-Tim


On May 30, 2022, Linux for blind general discussion wrote:
> Ok, sorry, I was probably not as clear as I should have been. One
> of the sites I have to connect to asks for ftp over tls, and none
> of the 4 sites has standard port 21 as the connection default.
> 
> I know I could probably use filezilla on the GUI, but I'd prefer
> the CLI.
> 
> Warm regards,
> 
> Brandt Steenkamp
> 
> Sent using Thunderbird from the Slint laptop
> 
> On 2022/05/30 18:49, Linux for blind general discussion wrote:
> > Tim here.  I've always just used the command-line client (since
> > the late 80s or early 90s over dial-up?) which is accessible as
> > any other CLI application:
> >
> >    $ ftp ftp.example.com  
> >    ftp> ls  
> >    [files & directories]  
> >    ftp> cd /pub
> >    ftp> ls  
> >    [files & directories in /pub]  
> >    ftp> bin  
> >    200 Type set to I.  
> >    ftp> get some_file.zip  
> >    [file downloads]  
> >    ftp> put local_file.mp3  
> >    [uploads "local_file.mp3" to the server]
> >
> > If you're only transferring text documents, you can skip the
> > "bin"ary command, letting it jockey line-endings for you.  But
> > most of the time you want to use "bin"ary mode to ensure the file
> > doesn't have newline-translation during transfer.
> >
> > -Tim
> >
> >
> > On May 30, 2022, Linux for blind general discussion wrote:  
> >> I need a way to connect to some ftp sirvers, what would you
> >> recommend, weather it be CLI or GUI really doesn't matter to me.
> >>  
> > _______________________________________________
> > Blinux-list mailing list
> > Blinux-list at redhat.com
> > https://listman.redhat.com/mailman/listinfo/blinux-list
> >  
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
> 



More information about the Blinux-list mailing list