scp_restore_remotepath(save_target);
static void rsource(char *src){    char *last, *findfile;    HANDLE dir;    WIN32_FIND_DATA fdat;    int ok;    if ((last = strrchr(src, '/')) == NULL)	last = src;    else	last++;    if (strrchr(last, '\\') != NULL)	last = strrchr(last, '\\') + 1;    if (last == src && strchr(src, ':') != NULL)	last = strchr(src, ':') + 1;    /* maybe send filetime */    if (verbose)	tell_user(stderr, "Entering directory: %s", last);    if (scp_send_dirname(last, 0755))	return;    findfile = dupcat(src, "/*", NULL);    dir = FindFirstFile(findfile, &fdat);    ok = (dir != INVALID_HANDLE_VALUE);    while (ok) {	if (strcmp(fdat.cFileName, ".") == 0 ||	    strcmp(fdat.cFileName, "..") == 0) {	    /* ignore . and .. */	} else {	    char *foundfile = dupcat(src, "/", fdat.cFileName);	    source(foundfile);	    sfree(foundfile);	}	ok = FindNextFile(dir, &fdat);    }    FindClose(dir);    sfree(findfile);    (void) scp_send_enddir();}