• Home
  • Raw
  • Download

Lines Matching refs:local_path

1198     const char *local_path, Attrib *a, int preserve_flag, int resume_flag,  in do_download()  argument
1267 local_fd = open(local_path, in do_download()
1271 local_path, strerror(errno)); in do_download()
1278 local_path, strerror(errno)); in do_download()
1282 error("\"%s\" has negative size", local_path); in do_download()
1287 "local file is larger than remote", local_path); in do_download()
1439 "server reordered requests", local_path); in do_download()
1443 error("ftruncate \"%s\": %s", local_path, in do_download()
1452 error("Couldn't write to \"%s\": %s", local_path, in do_download()
1465 if (preserve_flag && chmod(local_path, mode) == -1) in do_download()
1467 error("Couldn't set mode on \"%s\": %s", local_path, in do_download()
1475 if (utimes(local_path, tv) == -1) in do_download()
1477 local_path, strerror(errno)); in do_download()
1480 logit("File \"%s\" was not modified", local_path); in do_download()
1482 debug("syncing \"%s\"", local_path); in do_download()
1485 local_path, strerror(errno)); in do_download()
1609 do_upload(struct sftp_conn *conn, const char *local_path, in do_upload() argument
1635 if ((local_fd = open(local_path, O_RDONLY, 0)) == -1) { in do_upload()
1637 local_path, strerror(errno)); in do_upload()
1642 local_path, strerror(errno)); in do_upload()
1647 error("%s is not a regular file", local_path); in do_upload()
1710 start_progress_meter(local_path, sb.st_size, in do_upload()
1730 fatal("Couldn't read from \"%s\": %s", local_path, in do_upload()
1809 error("Couldn't close local file \"%s\": %s", local_path, in do_upload()