|
NAMEsftpgo-portable - Serve a single directory/accountSYNOPSISsftpgo portable [flags]DESCRIPTIONTo serve the current working directory with auto generated credentials simply use:$ sftpgo portable Please take a look at the usage below to customize the serving parameters OPTIONS-C, --advertise-credentials[=false] If the SFTP/FTP service is advertised via multicast DNS, this flag allows to put username/password inside the advertised TXT record-S, --advertise-service[=false] Advertise configured services using multicast DNS --allowed-patterns=[] Allowed file patterns case insensitive. The format is: /dir::pattern1,pattern2. For example: "/somedir::*.jpg,a*b?.png" --az-access-tier="" Leave empty to use the default container setting --az-account-key="" --az-account-name="" --az-container="" --az-endpoint="" Leave empty to use the default: "blob.core.windows.net" --az-key-prefix="" Allows to restrict access to the virtual folder identified by this prefix and its contents --az-sas-url="" Shared access signature URL --az-upload-concurrency=2 How many parts are uploaded in parallel --az-upload-part-size=4 The buffer size for multipart uploads (MB) --az-use-emulator[=false] --crypto-passphrase="" Passphrase for encryption/decryption --denied-patterns=[] Denied file patterns case insensitive. The format is: /dir::pattern1,pattern2. For example: "/somedir::*.jpg,a*b?.png" -d, --directory="." Path to the directory to serve. This can be an absolute path or a path relative to the current directory -f, --fs-provider="osfs" osfs => local filesystem (legacy value: 0) s3fs => AWS S3 compatible (legacy: 1) gcsfs => Google Cloud Storage (legacy: 2) azblobfs => Azure Blob Storage (legacy: 3) cryptfs => Encrypted local filesystem (legacy: 4) sftpfs => SFTP (legacy: 5) --ftpd-cert="" Path to the certificate file for FTPS --ftpd-key="" Path to the key file for FTPS --ftpd-port=-1 0 means a random unprivileged port, < 0 disabled --gcs-automatic-credentials=1 0 means explicit credentials using a JSON credentials file, 1 automatic --gcs-bucket="" --gcs-credentials-file="" Google Cloud Storage JSON credentials file --gcs-key-prefix="" Allows to restrict access to the virtual folder identified by this prefix and its contents --gcs-storage-class="" -h, --help[=false] help for portable -l, --log-file-path="" Leave empty to disable logging --log-utc-time[=false] Use UTC time for logging -v, --log-verbose[=false] Enable verbose logs -p, --password="" Leave empty to use an auto generated value -g, --permissions=[list,download] User's permissions. "*" means any permission -k, --public-key=[] --s3-access-key="" --s3-access-secret="" --s3-acl="" --s3-bucket="" --s3-endpoint="" --s3-force-path-style[=false] Force path style bucket URL --s3-key-prefix="" Allows to restrict access to the virtual folder identified by this prefix and its contents --s3-region="" --s3-storage-class="" --s3-upload-concurrency=2 How many parts are uploaded in parallel --s3-upload-part-size=5 The buffer size for multipart uploads (MB) --sftp-buffer-size=0 The size of the buffer (in MB) to use for transfers. By enabling buffering, the reads and writes, from/to the remote SFTP server, are split in multiple concurrent requests and this allows data to be transferred at a faster rate, over high latency networks, by overlapping round-trip times --sftp-disable-concurrent-reads[=false] Concurrent reads are safe to use and disabling them will degrade performance. Disable for read once servers --sftp-endpoint="" SFTP endpoint as host:port for SFTP provider --sftp-fingerprints=[] SFTP fingerprints to verify remote host key for SFTP provider --sftp-key-path="" SFTP private key path for SFTP provider --sftp-password="" SFTP password for SFTP provider --sftp-prefix="" SFTP prefix allows restrict all operations to a given path within the remote SFTP server --sftp-username="" SFTP user for SFTP provider -s, --sftpd-port=0 0 means a random unprivileged port, < 0 disabled -c, --ssh-commands=[md5sum,sha1sum,cd,pwd,scp] SSH commands to enable. "*" means any supported SSH command including scp -u, --username="" Leave empty to use an auto generated value --webdav-cert="" Path to the certificate file for WebDAV over HTTPS --webdav-key="" Path to the key file for WebDAV over HTTPS --webdav-port=-1 0 means a random unprivileged port, < 0 disabled SEE ALSOsftpgo(1)
Visit the GSP FreeBSD Man Page Interface. |