Hey Scott,

what about the following workflow, using that curl try:

if the url is HTTPS try:

 curl -v -k -X HEAD <your URL>

this will just send back the header portion of a call to that url. This is
good because you have the Content-Lenght and then you can later call:

 curl -v -k <your URL>

and monitor the file size as it grows to match Content-Lenght. It's not the
best way to monitor a file transfer but you could use a mix of that and a
send in time to check for timeouts if the file does not grow as often as it
should.

if the url is FTPS use:

curl -v -k -X SIZE <your FTP URL>

Not all servers support the SIZE call. You mileage may vary. I think your
best option is using HTTPS and and HEAD request to learn the file size prior
to downloading it.

Does this helps you?

Andre
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to