EnglishFrenchSpanish

OnWorks favicon

lsftp - Online in the Cloud

Run lsftp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lsftp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


lsftp - Client for the sftp subsystem

SYNOPSIS


lsftp [OPTION]... [-- [COMMAND]...]

DESCRIPTION


lsftp is a program that connects to a remote sftp server, and can be used to upload
download files á la FTP. When invoked with no command arguments, lsftp enters interactive
mode, much like ftp (1) (although with a more feature rich interface, providing tab
completion, recursive up and downloads and more). However, when the -- argument and
subsequent commands are passed to lsftp, lsftp simply executes those commands and exits.

OPTIONS


Anything (except the special options --, --help and --version ) before the last (if any)
-- is handled as options, meaning lsftp passes them directly to the transport program. If
you want to pass -- to the transport program, you must give an extra -- to make sure it's
not handled as end of options, e.g.

lsftp OPTIONS -- MORE OPTIONS --

to enter interactive mode or

lsftp -l OTPIONS -- MORE OPTIONS -- ls

to perform the ls command.

Available options:

--help Show summary of options.

--version
Show version of program.

-- End of options (if the last occurence).

COMMANDS


cd directory
Change the current directory on the remote server to directory.

rm filespec
Removes files or directories. To delete directories, the -r option needs to be
specified. The rm command doesn't accept wildcards by default, to enable these you
must specify the -g option.

delete Alias for rm.

mkdir dir
Make directory dir.

about Display information about lsftp.

help Displays a list of commands.

? Alias for help.

longhelp
Displays the list of commands with detailed information about each command.

ls filespec
List remote files and folders.

list Alias for ls.

dir (Another) Alias for ls.

pwd Print the current working directory.

quit Quit lsftp.

exit Quit lsftp.

set [var=value]
Sets or shows variables. Without an argument, set displays the current variable
state. With a var=value argument, set sets the appropriate variable in the
environment.

mail Runs the mail (1) command.

umask [value]
Sets or displays the remote umask.

jobs Prints information about currently running jobs.

open site
Open a sftp connection to site.

close Close the current connection.

mv old-filename new-filename
Rename file old-filename to new-filename.

rename Alias for mv.

ln file link
Make link a symlink to file.

get remote-file
Retrieve remote-file on the remote system to the local system.

put local-file
Send local-file on the local system to the remote system.

chown uid file
Change the ownership of file to be owned by the user represented by uid.

chgrp gid file
Change the group ownership of file to be owned by the group represented by gid.

lcd dir
Change the current local directory to dir.

lrm file
Remove file from the local system.

ldelete
Alias for lrm.

lls List files on the local system.

llist Alias for lls.

lpwd Print the current local working directory.

! command
Executes command in a shell on the local system.

ENVIRONMENT


LSFTP_RSH
The program to use for the SSH tunnel. If the variable is not set, lsftp defaults
to using lshg.

LSFTP_BEFORE_ARGS

LSFTP_AFTER_ARGS

may be used to specify default options to be parsed before and after the command
line options, making it possible to provide default transport options as well as
commands if desired.

REPORTING BUGS


Report bugs to <[email protected]>.

COPYING


The lsh suite of programs is distributed under the GNU General Public License; see the
COPYING and AUTHORS files in the source distribution for details.

Use lsftp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad