{"id":38716091,"url":"https://github.com/dreamdata-io/sftp-upload","last_synced_at":"2026-01-17T11:03:33.900Z","repository":{"id":277181999,"uuid":"931526733","full_name":"dreamdata-io/sftp-upload","owner":"dreamdata-io","description":"Example script to upload files to dreamdata custom crm sftp server.","archived":false,"fork":false,"pushed_at":"2025-12-05T13:22:26.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-08T23:53:26.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dreamdata-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-12T12:33:10.000Z","updated_at":"2025-12-05T13:21:36.000Z","dependencies_parsed_at":"2025-02-12T15:52:31.106Z","dependency_job_id":"d33c1a2e-8e67-4736-bb37-58c79e61aa04","html_url":"https://github.com/dreamdata-io/sftp-upload","commit_stats":null,"previous_names":["dreamdata-io/sftp-upload"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dreamdata-io/sftp-upload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdata-io%2Fsftp-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdata-io%2Fsftp-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdata-io%2Fsftp-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdata-io%2Fsftp-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamdata-io","download_url":"https://codeload.github.com/dreamdata-io/sftp-upload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamdata-io%2Fsftp-upload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28506593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T11:03:33.804Z","updated_at":"2026-01-17T11:03:33.876Z","avatar_url":"https://github.com/dreamdata-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sftp-upload\n\nExample code to upload files to Dreamdata(c) custom crm sftp server.\n\nIf you have any specific requirements, you will need to modify the code to suit your needs.\n\nsource code available in [GO](main.go) and [Python](main.py)\n\n## Usage\n\n### Installation\n\nYou can install this script, as is, to use it as a CLI:\n```bash\n$ go install github.com/dreamdata-io/sftp-upload@latest\n```\n\nor you can clone the repository and run the script directly:\n```bash\n$ git clone github.com/dreamdata-io/sftp-upload\n$ cd sftp-upload\n```\n\n### Running\nTo upload files to the sftp server, you can run the following command:\n- with CLI:\n```bash\n$ sftp-upload -username \u003cusername\u003e path/to/file_1.csv path/to/dir\n```\n- with Go script:\n```bash\n$ go run main.go -username \u003cusername\u003e path/to/file_1.csv path/to/dir\n```\n- with Python script:\n```bash\n$ python main.py -username \u003cusername\u003e path/to/file_1.csv path/to/dir\n```\nYou can specify multiple files and directories to upload.\n\nYou will be prompted for the sftp login password, that is the same one you can get on the Dreamdata(c) platform.\n```\n\u003e Enter your password for \u003cusername\u003e:\n```\n\nIf any directories are specified, the script will attempt to upload all files in the directory.\nYou will be prompted to confirm the upload for each directory.\n```\n\u003e You will upload all files in path/to/dir. Continue? (y/[n])\n```\n\nYou must type `y` to confirm the upload. If you type anything else, the upload will skip the directory.\n\nYou can skip all directory prompts by specifying the `--no-prompt` flag.\n```bash\n$ sftp-upload -username \u003cusername\u003e --no-prompt path/to/file_1.csv path/to/dir\n```\n\nThe command will upload all supported files specified in paths to the sftp server.\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamdata-io%2Fsftp-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreamdata-io%2Fsftp-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamdata-io%2Fsftp-upload/lists"}