curl-users
remote file size
From: ganesh patwardhan via curl-users <curl-users_at_cool.haxx.se>
Date: Wed, 11 May 2016 14:25:54 +0000 (UTC)
Date: Wed, 11 May 2016 14:25:54 +0000 (UTC)
Hi,
Is there any way to find out file size at FTP/SFTP server using 'curl' command.
My use case is:I will transfer file using curl (ftp/sftp) to serverI want to read back file size from destination once transfer is complete.(I don't want to rely on success message from curl to assume complete file is transferred and written at destination )
Regards
Ganesh Patwardhan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-05-11