Skip to content

fraoustin/fbc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Browser Client

fbc is a client of File Browser

File Browser is an open source web-based file managing. It's like your personal cloud drive

install

install by pypi

pip install fbc

usage

fbc --help

add shorcut for connection

fbc server new

view or change parameter

fbc defaults fbc default show global fbc default set global prompt ">>>"

add or change connection

fbc servers fbc server show <name_connection> fbc server set <name_connection> ssl true

connection

fbc http://@:.com fbc <name_connection>

You can change your prompt with dynamic value.

fbc <name_connection> fbc> set prompt "{cyan}(fbc){/cyan}{red}{username}{/red}@{blue}{host}{/blue}:{green}{cwd}{/green}{reset} " user@tutu.fr:/

You can use keyword:

  • colors: green, red, blue, violet, magenta, cyan, yellow, black, reset
  • cwd current path remote
  • connect information: username, host, scheme

List of action in shell

help

Available commands
?                                        Display this help text
bye                                      Quit
env                                      display parameter shell
exit                                     Quit
help                                     Display this help text
history                                  Show history command
quit                                     Quit
set <attr> [value]                       config prompt, cert, token and verify_ssl
version                                  Show FileBrowserClient version

Local:
! <args>                                 Execute 'command' in local shell
lcd  [path]                              Change local directory to 'path'
lcmd <args>                              Execute 'command' in local shell
lls  [path]                              Display local directory listing
lpwd                                     Display local working directory

Remote:
cd  [path]                               Change remote directory to 'path'
connect <url>                            Connect remote
del <path>                               Delete remote file
download <remote_file> [local_file]      Download file
get <remote_file> [local_file]           Download file
login <url>                              Connect remote
logout                                   Disconnect remote
ls  [path]                               Display remote directory listing
mkdir <path>                             Create remote directory
put <local_file> [remote_path]           Upload file
pwd                                      Display remote working directory
rm <path>                                Delete remote file
upload <local_file> [remote_path]        Upload file

You can use "tab" for complementation help

development

Before propose your merge

flake8

for push on pypi

python -m build

twine upload dist/*

todo

  • add systrace in log file
  • add synchro functionnality
  • manage upload and download dir and path*
  • add visual for up and download

About

file browser client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages