remotesize
size = remotesize(argv[1], 1);
off_t remotesize(const char *, int);
filesize = remotesize(remote, 0);