mrs1
(Mike)
May 16, 2020, 2:30pm
1
I'd like to know if it's possible to use FTP over the command line, simlar to http protocol
With http protocol I can do something like this:
rclone ls --http-url "http://speedtest.tele2.net/" :http:
But with ftp, I've tried several options with no success like:
rclone ls --ftp-host "speedtest.tele2.net" :ftp:
rclone ls --ftp-host "speedtest.tele2.net" :http:
rclone ls --http-url "ftp://speedtest.tele2.net/" :http:
(this hostname has both a ftp and http server)
Thanks!
Mike
mrs1
(Mike)
May 16, 2020, 3:39pm
3
Thanks for the prompt reply, but my objective was to use only the command line instead of having to do "rclone config" or creating a config file.
asdffdsa
(jojothehumanmonkey)
May 16, 2020, 3:48pm
4
you should add a debug flag to better understand the problem
-vv
asdffdsa
(jojothehumanmonkey)
May 16, 2020, 4:05pm
5
linux
rclone ls :ftp: --ftp-host=speedtest.tele2.net --ftp-user=anonymous --ftp-pass=`rclone obscure dummy`
windows
rclone obscure dummy > pwd.txt && set /p pwd= < pwd.txt
rclone ls :ftp: --ftp-host=speedtest.tele2.net --ftp-user=anonymous --ftp-pass=%pwd%
1 Like
calisro
(Rob)
May 16, 2020, 4:46pm
6
Nice one @asdffdsa .
@mrs1 you don't really even need to obscure if it's anonymous. Any base64 pass over 7 chars should work.
RGRkZGRkZGRkZ2p1ZmN2amhn
1 Like
asdffdsa
(jojothehumanmonkey)
May 16, 2020, 4:47pm
7
nice one @calisro
my motto
learn and return
mrs1
(Mike)
May 16, 2020, 5:21pm
8
Thanks a million guys! This is exactly what I needed!
May I suggest this is added to the FTP documentation? The HTTP documentation already has the command line option, but not FTP.
1 Like
calisro
(Rob)
May 16, 2020, 6:05pm
9
rclone:master
← rclone:ftp-doc-add-configless-example
opened 06:04PM - 16 May 20 UTC
Its rather easy to update docs as you find things that could be enhanced. There is a pencil to edit and just submit.
1 Like
system
(system)
Closed
July 16, 2020, 2:05pm
10
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.