Post ATCHiyzJLVidICqW7k by mikapyon@mastodon.social
 (DIR) More posts by mikapyon@mastodon.social
 (DIR) Post #ATAMaVLYREamk6sqwq by mikapyon@mastodon.social
       2023-02-28T13:15:31Z
       
       1 likes, 0 repeats
       
       Can you help me with a Linux CLI method for FTP (・ω・)?I say "method" because I do not mind a series of commands instead of a full-blown "manager" tool.I mainly want to transfer, move and delete files and whole directories.curl is a good option but a downside is I need aliases/notes to remember commands.Other programs I looked at either do not support SFTP, are alpha or abandoned (´;ω;`)
       
 (DIR) Post #ATAMjUmPum2VaijfeK by WTL@mastodon.social
       2023-02-28T14:36:43Z
       
       0 likes, 0 repeats
       
       @mikapyon Would something like SCP work for you (if you know what files you want to modify)?  https://en.wikipedia.org/wiki/Secure_copy_protocol
       
 (DIR) Post #ATAMjVQ7X9nZZrJNXE by mikapyon@mastodon.social
       2023-02-28T15:23:51Z
       
       1 likes, 0 repeats
       
       @WTL Thanks for the suggestion~! SCP would be ideal!Forgot to mention, I mainly need to work with hosting services. Tried scp, ssh, sftp but all refused (☍﹏⁰)。Curl via SSL works however so guess one just has to carry some notes.Transferring directories is quite lengthy xP$ read -p "Password: " T$ find PATH/ -type f -exec curl --ssl-reqd --user USER:"$T" --ftp-create-dirs --upload-file {} ftp://example.com/public_html/{} \;$ unset T
       
 (DIR) Post #ATAMu1p9ubEYyK2a5A by wasamasa@lonely.town
       2023-02-28T13:22:32Z
       
       0 likes, 0 repeats
       
       @mikapyon Did you try lftp?
       
 (DIR) Post #ATAMu2cQxOeJR95vt2 by mikapyon@mastodon.social
       2023-02-28T14:23:58Z
       
       0 likes, 0 repeats
       
       @wasamasa Hey thanks (*‾▽‾)ノ!I looked at lftp before and it seems like the holy-grail for me needs.Unfortunately the author posted on their website they will not maintain it anymore.It might still work atm but not sure if I should rely on it long term (☍﹏⁰)。
       
 (DIR) Post #ATAMu37H6jJqynWYxU by wilmhit@social.handholding.io
       2023-03-01T08:37:10.790455Z
       
       0 likes, 0 repeats
       
       @mikapyon @wasamasa lftp is quite standard nonetheless
       
 (DIR) Post #ATCHiyzJLVidICqW7k by mikapyon@mastodon.social
       2023-03-01T12:45:09Z
       
       1 likes, 0 repeats
       
       @wilmhit @wasamasa hmhm but but ... (*ノω・*)While I am not looking for a solution for any high-risk tasks, with this constantly changing security landscape I still think relying on a potentially slow-upgrading program is irresponsible 💦So guess I will stick with Filezilla, as annoying as the GUI may be, and use curl for tty-only or one-shot transfers ┐(^-^; )┌