Re: Accessible ftp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
> > https://listman.redhat.com/mailman/listinfo/blinux-list
> >  
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/blinux-list
> 

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]