Transfer file from Linux to Windows via FTP
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm trying to transfer a file coming from Linux to Windows using FTP. But i get an error of try.sh: 13: try.sh: wput: not found
can someone give me a clue what cause of this error? I just a newbie when creating a script
.
try.sh
:
database_username="user"
database_password="pass"
database="wa"
export TZ="/usr/share/zoneinfo/Asia/Singapore"
DATE=$(date +"%Y-%m-%d %r")
mysqldump -u$database_username -p$database_password $database | gzip > "/var/www/html/wa/public/ew.sql.gz"
wput /var/www/html/wa/public/ew.sql.gz ftp://ftp-user:123@192.168.0.14:21/asd/
linux shell windows mysql ftp
New contributor
add a comment |Â
up vote
0
down vote
favorite
I'm trying to transfer a file coming from Linux to Windows using FTP. But i get an error of try.sh: 13: try.sh: wput: not found
can someone give me a clue what cause of this error? I just a newbie when creating a script
.
try.sh
:
database_username="user"
database_password="pass"
database="wa"
export TZ="/usr/share/zoneinfo/Asia/Singapore"
DATE=$(date +"%Y-%m-%d %r")
mysqldump -u$database_username -p$database_password $database | gzip > "/var/www/html/wa/public/ew.sql.gz"
wput /var/www/html/wa/public/ew.sql.gz ftp://ftp-user:123@192.168.0.14:21/asd/
linux shell windows mysql ftp
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to transfer a file coming from Linux to Windows using FTP. But i get an error of try.sh: 13: try.sh: wput: not found
can someone give me a clue what cause of this error? I just a newbie when creating a script
.
try.sh
:
database_username="user"
database_password="pass"
database="wa"
export TZ="/usr/share/zoneinfo/Asia/Singapore"
DATE=$(date +"%Y-%m-%d %r")
mysqldump -u$database_username -p$database_password $database | gzip > "/var/www/html/wa/public/ew.sql.gz"
wput /var/www/html/wa/public/ew.sql.gz ftp://ftp-user:123@192.168.0.14:21/asd/
linux shell windows mysql ftp
New contributor
I'm trying to transfer a file coming from Linux to Windows using FTP. But i get an error of try.sh: 13: try.sh: wput: not found
can someone give me a clue what cause of this error? I just a newbie when creating a script
.
try.sh
:
database_username="user"
database_password="pass"
database="wa"
export TZ="/usr/share/zoneinfo/Asia/Singapore"
DATE=$(date +"%Y-%m-%d %r")
mysqldump -u$database_username -p$database_password $database | gzip > "/var/www/html/wa/public/ew.sql.gz"
wput /var/www/html/wa/public/ew.sql.gz ftp://ftp-user:123@192.168.0.14:21/asd/
linux shell windows mysql ftp
linux shell windows mysql ftp
New contributor
New contributor
New contributor
asked 3 mins ago
nethkennnnn
101
101
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
nethkennnnn is a new contributor. Be nice, and check out our Code of Conduct.
nethkennnnn is a new contributor. Be nice, and check out our Code of Conduct.
nethkennnnn is a new contributor. Be nice, and check out our Code of Conduct.
nethkennnnn is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478191%2ftransfer-file-from-linux-to-windows-via-ftp%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password