Forum Index \ DriveHQ Customer Support Forum \
Read/Reply : 271/2
  • reynot
  • (2 posts)

 Hi,

 
I am using linux lftp (https://lftp.yar.ru/ version 4.6.3a) to connect to your ftp server. I am using Ubuntu Xenial 16.04.05.
I have successfully transferred files using FTP but I am failing using SFTP.
 
I can log in, the file transfer but hangs waiting for a response following the file transfer.
I can successfully transfer files using with sftp using filezilla and WinSCP.
 
The debug output from lftp is given below.
 
lftp -d -u <USER>,<PASSWORD> sftp://proftp.drivehq.com -e "mput test_file.txt; bye"
---- Running connect program (ssh -a -x -s -l reynot proftp.drivehq.com sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- reynot@proftp.drivehq.com's password: XXXX
<--- got a packet, length=5, type=2(VERSION), id=0
---- protocol version set to 3
---> sending a packet, length=10, type=16(REALPATH), id=1
<--- got a packet, length=78, type=104(NAME), id=1
---- home set to /
---- path on wire is `/casella_test_file.txt'
---> sending a packet, length=39, type=3(OPEN), id=2
<--- got a packet, length=31, type=102(HANDLE), id=2
---- got file handle 2F636173656C6C615F746573745F66696C652E747874 (22)
---> sending a packet, length=72, type=6(WRITE), id=3
---> sending a packet, length=43, type=10(FSETSTAT), id=4
---> sending a packet, length=31, type=4(CLOSE), id=5
<--- got a packet, length=38, type=101(STATUS), id=3
---- status code=0(OK), message=DriveHQ SFTP Server
`test_file.txt' at 29 (100%) [Waiting for response...]

2/5/2019 8:16:18 AM

  • zhang024
  • (3 posts)
Subject: Re:Connect to DriveHQ sftp server using lftp

 Hi Reynot, I have same issue on CentOS, it seems they have fixed, it works to me now, you can try again.


Reply
2/26/2019 5:19:12 PM

  • reynot
  • (2 posts)
Subject: Re:Connect to DriveHQ sftp server using lftp

 I can confirm this now this works using my setup above.

Many Thanks!


Reply
2/27/2019 5:41:41 AM

Quickly Reply

Please logon and reply, Not DriveHQ Member?


Leading Cloud Surveillance service

Leading Enterprise Cloud IT Service Since 2003