Tikejhya: Ashish Nepal

Knowledgebase

Category: ftp

sftp using curl [download file from ftp using curl]

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

curl -u user:password ‘ftp://remotefile/myfile.csv’ -o ~/Downloads/myfile.csv

curl -o ~/Downloads/myfile.csv -u ‘username’:’password’ sftp://remotefile/myfile.csv

NOTE: using password in command-line are not good idea from security point of view.

sftp command line

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

[root@monitor relay]# sftp -oPort=2134 tikejhya@ashishnepal.com:/data/files
Connecting to ashishnepal.com…
tikejhya@ashishnepal.com’s password:
Changing to: /data/files
sftp>

Powered by WordPress & Theme by Anders Norén