lftp without pseudo-terminal (/dev/ptmx) devices
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm try to implement script that can be used to file transfer between two serves here I'm using lftp in terminal error I get
code and error 1
lftp -u user,password sftp://xxx.xxxxx.xxxx
lftp user@XXXX.XXXX.XXX:~> ls
ls: Fatal error: pseudo-tty allocation failed: No such file or directory
code and error 2
lftp -u user,password xxx.xxxxx.xxxx
lftp user@xxx.xxxx.xxxx:~> ls
WARNING: failed to configure server name indication (SNI) TLS extension
ls: Login failed: 500 PASS: USER must be sent first
code error 3
ssh -t USER@XXX.X.XXX.XX "cd /Home/path/dir/"
user@xx.xx.xxx.xxx's password:
PTY allocation request failed on channel 0
USING CURL
curl -u USER:PASS 'ftp://XX.XXX.XXXX/path/To_dir/' -o /tmp/test.file
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (67) Access denied: 500
I'm using site ground host provider and it has limited my options here
I Only has ftp access no ssh access so I can't use scp or rsyunc . host provider does not provide me install and advance system modification on this server
I use this user and password with filezila and it connect without issue so user name and password 100% working
same time I use this script with my local Centos and Ubuntu vms and script work fine so script commands 100% ok too
full script I try to use
lftp -u user,password sftp://xxx.xxxxx.xxxx << --EOF--
cd /path/on/remote/server/dir
mput *
quit
--EOF--
after try all the internet solution and fail with host system ,host support guys suggest me to use lftp without pseudo-terminal (/dev/ptmx) devices
can you guys provide me some insights on this . how to implement lftp with out pseudo-terminal
shell-script ftp file-transfer lftp
add a comment |Â
up vote
0
down vote
favorite
I'm try to implement script that can be used to file transfer between two serves here I'm using lftp in terminal error I get
code and error 1
lftp -u user,password sftp://xxx.xxxxx.xxxx
lftp user@XXXX.XXXX.XXX:~> ls
ls: Fatal error: pseudo-tty allocation failed: No such file or directory
code and error 2
lftp -u user,password xxx.xxxxx.xxxx
lftp user@xxx.xxxx.xxxx:~> ls
WARNING: failed to configure server name indication (SNI) TLS extension
ls: Login failed: 500 PASS: USER must be sent first
code error 3
ssh -t USER@XXX.X.XXX.XX "cd /Home/path/dir/"
user@xx.xx.xxx.xxx's password:
PTY allocation request failed on channel 0
USING CURL
curl -u USER:PASS 'ftp://XX.XXX.XXXX/path/To_dir/' -o /tmp/test.file
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (67) Access denied: 500
I'm using site ground host provider and it has limited my options here
I Only has ftp access no ssh access so I can't use scp or rsyunc . host provider does not provide me install and advance system modification on this server
I use this user and password with filezila and it connect without issue so user name and password 100% working
same time I use this script with my local Centos and Ubuntu vms and script work fine so script commands 100% ok too
full script I try to use
lftp -u user,password sftp://xxx.xxxxx.xxxx << --EOF--
cd /path/on/remote/server/dir
mput *
quit
--EOF--
after try all the internet solution and fail with host system ,host support guys suggest me to use lftp without pseudo-terminal (/dev/ptmx) devices
can you guys provide me some insights on this . how to implement lftp with out pseudo-terminal
shell-script ftp file-transfer lftp
which protocol are you using ? there is sftp (with a leading 's') (first example) and ftp (curl example)
â Archemar
Oct 3 '17 at 14:02
lets say I want to use only ftp . here I have show you what I test and results. most of time I like to stick with lftp
â Dan Rox
Oct 3 '17 at 14:14
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm try to implement script that can be used to file transfer between two serves here I'm using lftp in terminal error I get
code and error 1
lftp -u user,password sftp://xxx.xxxxx.xxxx
lftp user@XXXX.XXXX.XXX:~> ls
ls: Fatal error: pseudo-tty allocation failed: No such file or directory
code and error 2
lftp -u user,password xxx.xxxxx.xxxx
lftp user@xxx.xxxx.xxxx:~> ls
WARNING: failed to configure server name indication (SNI) TLS extension
ls: Login failed: 500 PASS: USER must be sent first
code error 3
ssh -t USER@XXX.X.XXX.XX "cd /Home/path/dir/"
user@xx.xx.xxx.xxx's password:
PTY allocation request failed on channel 0
USING CURL
curl -u USER:PASS 'ftp://XX.XXX.XXXX/path/To_dir/' -o /tmp/test.file
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (67) Access denied: 500
I'm using site ground host provider and it has limited my options here
I Only has ftp access no ssh access so I can't use scp or rsyunc . host provider does not provide me install and advance system modification on this server
I use this user and password with filezila and it connect without issue so user name and password 100% working
same time I use this script with my local Centos and Ubuntu vms and script work fine so script commands 100% ok too
full script I try to use
lftp -u user,password sftp://xxx.xxxxx.xxxx << --EOF--
cd /path/on/remote/server/dir
mput *
quit
--EOF--
after try all the internet solution and fail with host system ,host support guys suggest me to use lftp without pseudo-terminal (/dev/ptmx) devices
can you guys provide me some insights on this . how to implement lftp with out pseudo-terminal
shell-script ftp file-transfer lftp
I'm try to implement script that can be used to file transfer between two serves here I'm using lftp in terminal error I get
code and error 1
lftp -u user,password sftp://xxx.xxxxx.xxxx
lftp user@XXXX.XXXX.XXX:~> ls
ls: Fatal error: pseudo-tty allocation failed: No such file or directory
code and error 2
lftp -u user,password xxx.xxxxx.xxxx
lftp user@xxx.xxxx.xxxx:~> ls
WARNING: failed to configure server name indication (SNI) TLS extension
ls: Login failed: 500 PASS: USER must be sent first
code error 3
ssh -t USER@XXX.X.XXX.XX "cd /Home/path/dir/"
user@xx.xx.xxx.xxx's password:
PTY allocation request failed on channel 0
USING CURL
curl -u USER:PASS 'ftp://XX.XXX.XXXX/path/To_dir/' -o /tmp/test.file
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (67) Access denied: 500
I'm using site ground host provider and it has limited my options here
I Only has ftp access no ssh access so I can't use scp or rsyunc . host provider does not provide me install and advance system modification on this server
I use this user and password with filezila and it connect without issue so user name and password 100% working
same time I use this script with my local Centos and Ubuntu vms and script work fine so script commands 100% ok too
full script I try to use
lftp -u user,password sftp://xxx.xxxxx.xxxx << --EOF--
cd /path/on/remote/server/dir
mput *
quit
--EOF--
after try all the internet solution and fail with host system ,host support guys suggest me to use lftp without pseudo-terminal (/dev/ptmx) devices
can you guys provide me some insights on this . how to implement lftp with out pseudo-terminal
shell-script ftp file-transfer lftp
shell-script ftp file-transfer lftp
asked Oct 3 '17 at 13:54
Dan Rox
2015
2015
which protocol are you using ? there is sftp (with a leading 's') (first example) and ftp (curl example)
â Archemar
Oct 3 '17 at 14:02
lets say I want to use only ftp . here I have show you what I test and results. most of time I like to stick with lftp
â Dan Rox
Oct 3 '17 at 14:14
add a comment |Â
which protocol are you using ? there is sftp (with a leading 's') (first example) and ftp (curl example)
â Archemar
Oct 3 '17 at 14:02
lets say I want to use only ftp . here I have show you what I test and results. most of time I like to stick with lftp
â Dan Rox
Oct 3 '17 at 14:14
which protocol are you using ? there is sftp (with a leading 's') (first example) and ftp (curl example)
â Archemar
Oct 3 '17 at 14:02
which protocol are you using ? there is sftp (with a leading 's') (first example) and ftp (curl example)
â Archemar
Oct 3 '17 at 14:02
lets say I want to use only ftp . here I have show you what I test and results. most of time I like to stick with lftp
â Dan Rox
Oct 3 '17 at 14:14
lets say I want to use only ftp . here I have show you what I test and results. most of time I like to stick with lftp
â Dan Rox
Oct 3 '17 at 14:14
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f395850%2flftp-without-pseudo-terminal-dev-ptmx-devices%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
which protocol are you using ? there is sftp (with a leading 's') (first example) and ftp (curl example)
â Archemar
Oct 3 '17 at 14:02
lets say I want to use only ftp . here I have show you what I test and results. most of time I like to stick with lftp
â Dan Rox
Oct 3 '17 at 14:14