-
-
Couldn't load subscription status.
- Fork 6.9k
Closed
Labels
Description
I did this
Executed below command to sftp a file:
curl -k -u user_id:password -B -T <source_filename> sftp://<remote_host>/<target_direcotry> -m 120
I expected the following
When target_direcotry is full on the remote host, the curl command getting hung forever. -m --max-time 120 is not working
curl/libcurl version
[curl -V output]
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
operating system
Linux <host_name> 2.6.32-696.30.1.el6.x86_64 #1 SMP Fri May 18 11:50:44 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux