cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to get details of a specific file just uploaded using ftps

From: Victor Engel <brillig_at_gmail.com>
Date: Tue, 31 Aug 2010 11:27:46 -0500

Thanks. That was going to be my fallback. That confirms that curl
believes the transfer was successful, but I was looking for a
verification using a separate operation that confirms the file exists
after the transfer operation. We can probably live without the extra
verification, but it will be a step back from what we have now, I
think.

Victor

On Tue, Aug 31, 2010 at 11:01 AM, Young,Jim <Jim.Young_at_cerner.com> wrote:

> I use two things - the exit code which should be 0 if it works and the -w '%{size_upload}' option which prints out the size of the file it just sent.  I compare that with the actual file size.  If the files are ASCII text you may need to adjust this for different file sizes caused by the different line ending characters on a UNIX system.
>
> Jim Young
>
> ----------------------------------------------------------------------
> CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ:        http://curl.haxx.se/docs/faq.html
> Etiquette:  http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-31