Re: Accessible ftp

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

 



Following up here, I also often use curl

   $ curl ftp://ftp.example.com/path/to/download.tgz
   $ curl --ftp-create-dirs -T local.tgz ftp://ftp.example.com/some/location/

(you only need the "--ftp-create-dirs" if you're uploading to a
directory that doesn't exist)

Hope this helps,

-Tim

On May 30, 2022, Tim Chase 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




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