
In Progress
Posted
I need a clean, well-documented Python 3 solution that drives the native sftp client through pexpect. The code must handle both uploading and downloading files, accepting host, port, user, key file or password, and path parameters at runtime. It should accept new file commands and based on the responses received. Target host is Windows, however, it should run on Linux and MacOS as well. Robustness is essential. The script should watch for and gracefully recover from connection failures, file permission errors, and mid-transfer interruptions, retrying or exiting with clear messages and non-zero exit codes where appropriate. Acceptance criteria: • A single, self-contained .py file (or small package) using only the standard library plus pexpect • Successful unattended transfer of sample files in both directions during test run • Clear exception handling covering the failure scenarios listed above • README and brief test that can be repeated elsewhere
Project ID: 40758180
178 proposals
Remote project
Active 4 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Hi, I can build a clean, well-documented Python 3 solution using pexpect to automate the native SFTP client, with reliable uploads and downloads across Windows, Linux, and macOS. I’ll handle authentication, runtime file commands, connection failures, permissions, interrupted transfers, and controlled retries, with clear logging and meaningful exit codes for unattended execution. You’ll receive a self-contained script, README, and repeatable transfer tests covering successful uploads/downloads and failure scenarios. I’ll also account for differences in native SFTP client behavior across operating systems to avoid fragile prompt handling. I have several years of Python experience and extensive Windows development experience. I’ll focus on reliability, straightforward configuration, and maintainable code rather than unnecessary dependencies.
$9.95 USD in 2 days
7.0
7.0
178 freelancers are bidding on average $9 USD/hour for this job

Hello I checked your project and the main point is building a dependable Python 3 SFTP automation tool using pexpect, with unattended uploads and downloads across Windows, Linux, and macOS. In the past I built similar Python automation projects using pexpect, subprocess, and careful response handling. I would create a self-contained script that accepts connection and path parameters at runtime, supports password or key authentication, and processes new file commands from SFTP responses. I’ll structure the code with prompt matching, transfer state checks, retry handling, clear exit codes, and readable logging. Connection drops, permission errors, and interrupted transfers will be caught separately, with cleanup before retrying or exiting. I’ll also provide a README and repeatable test using temporary sample files. One point I’d like to confirm is whether the Windows target will use the native OpenSSH sftp client, and how you want new file commands supplied during execution. Could we briefly align on those details before I finalize the command and recovery flow? Best regards
$25 USD in 40 days
7.7
7.7

Hello, I am Dr. Rajesh Rolen, PhD in Computer Science & Engineering, with experience of over 20+ years in Software Development, Python, Automation As a preferred freelancer in the top 1%, I have done 400+ projects here on freelancer.com, I have 4.9 ratings out of 5 on average, which showcases my quality of work and timely delivery. Key Highlights: - Free Hosting Support on the Cloud or any desired platform. - Free 3 months of post-delivery support to ensure that our client doesn’t face any challenges after the launch of the project. - Free Dedicated tester on projects to ensure quality delivery, so clients don’t need to act as a tester. - 10+ Years experience UI/UX team to ensure intuitive UI. Portfolio: https://www.freelancer.com/u/Microlent Please open the chat and send me a message, so we can have a more detailed discussion about the project to give you the project timeline and cost. Thank you for considering my services. I look forward to engaging in a productive conversation and understanding how I can be of assistance in bringing your project to life. Regards Rajesh Rolen
$8 USD in 40 days
7.5
7.5

Hello, I'm Denis, a full-stack developer experienced in building automation scripts that wrap command-line tools with pexpect to handle interactive sessions reliably across operating systems. You need a Python script that drives the native sftp client to upload and download files, accepting connection parameters and file paths at runtime, and running unattended on Windows, Linux and MacOS. The script must survive real-world issues like dropped connections, permission errors, and interrupted transfers without losing files or hanging. I would start by confirming the exact failure modes you want to catch and how each should be handled. Then I would build the pexpect wrapper to send sftp commands and parse responses, implement retry logic for transient failures, and add clear exception handling with appropriate exit codes. I would test both upload and download against sample files, document the code and usage in a README, and include a repeatable test script for any machine. The key challenge is making pexpect reliable when sftp behaves unexpectedly. I would handle this by matching specific response patterns, setting timeouts to detect hangs, and wrapping file operations in retry loops that distinguish between recoverable errors and genuine failures. The main risk is edge cases in sftp output format across systems, so I would build a flexible parser and test it early on your target environments. I can start right away. Let's discuss the details. Thanks, Denis.
$15 USD in 40 days
6.1
6.1

Hello, I CAN BUILD A ROBUST, CROSS-PLATFORM PYTHON SFTP AUTOMATION TOOL USING PEXPECT, WITH RELIABLE TRANSFERS, RETRIES, AND CLEAR ERROR REPORTING. I have 12+ years of software development experience and can deliver a clean, documented solution that works on Linux, macOS, and Windows environments with a compatible native SFTP client. • Support uploads and downloads with runtime host, port, username, paths, and key-file or password authentication. • Handle interactive SFTP prompts and process new transfer commands based on client responses. • Detect connection failures, permission errors, and interrupted transfers. • Implement configurable retries, timeouts, cleanup, and clear error messages. • Return appropriate non-zero exit codes when operations fail. • Provide a self-contained Python file or small package using only the standard library and Pexpect. • Include a README, setup instructions, and repeatable tests for uploads and downloads. I’ll keep the code modular, maintainable, and documented, with credentials handled carefully and no passwords exposed in logs. I can confirm the implementation details and test environment before finalizing the delivery plan and fixed price. Thanks, Christina
$7 USD in 40 days
6.2
6.2

Hi there, I have over 10 years work experience with Linux and python backend development and I think I can definitely help you out. Ping me! Cheers
$8 USD in 1 day
5.6
5.6

Hi S, I will provide a single Python 3 script using pexpect that drives native sftp for upload and download, accepting host, port, user, key or password and paths at runtime, runnable on Windows, Linux and macOS, with robust error handling, README and test. I’ll deliver it within a day. I can share a sample now—any particular files to test? Waiting for your response in chat! Best Regards.
$9 USD in 3 days
5.3
5.3

Hi, The key design decision is to treat the interactive sftp session as a state machine rather than matching isolated prompts. That makes host-key confirmation, authentication, transfer progress, permission failures, disconnects, and exit status handling predictable. I will also prevent interrupted downloads from being mistaken for completed files by transferring to a temporary path and finalizing only after success. I’ll deliver a clean Python 3 CLI accepting operation, host, port, user, authentication method, and local/remote paths at runtime. It will drive OpenSSH sftp through pexpect, recognize platform-tolerant response patterns, apply bounded retries for recoverable connection failures, and return clear messages with meaningful non-zero exit codes. Passwords will not be exposed in command arguments or logs. The package will include documented setup and usage, upload/download examples, and a repeatable test covering successful transfers plus representative authentication, permission, and interrupted-session failures. I estimate 18 hours of implementation and verification. Before starting, I only need confirmation whether Windows is the remote SFTP host or an OS on which the Python script itself must execute, since native pexpect process support differs on Windows. I’ll also need the expected OpenSSH sftp version or a test endpoint for final validation. Thanks!
$5 USD in 40 days
6.0
6.0

Hi there, I am Efanntyo, and I am eager to assist you with your Python SFTP automation project. I understand the necessity for a robust, clean, and well-documented Python solution to automate file transfers using the native sftp client via pexpect. Your requirement for handling both uploads and downloads, while managing various connection parameters and operating seamlessly across Windows, Linux, and MacOS, is clear and aligns well with my expertise. With a strong background in Python and software development, I have extensive experience in creating automation scripts that efficiently handle exceptions and ensure smooth operations. I am adept at using pexpect for automating interactions with command-line applications and can assure you that the script will robustly manage connection failures, permission errors, and interruptions, providing clear, actionable feedback in case of errors. My approach is to develop a single, self-contained Python script that adheres strictly to your criteria, including comprehensive exception handling and a README to facilitate easy testing and deployment elsewhere. I am committed to delivering a solution that ensures successful, unattended file transfers, meeting all your acceptance criteria. I look forward to the opportunity to contribute to your project and am confident in delivering a solution that exceeds your expectations. Best Regards, Efanntyo
$2 USD in 2 days
5.4
5.4

Senior Python/Backend Developer: With 15+ years of experience, I specialize in SFTP automation. I will create a robust Python solution using pexpect to seamlessly manage file transfers across various platforms. Execution Strategy: - Develop a clean, well-documented Python 3 script leveraging pexpect to control the native SFTP client. - Implement runtime parameters for host, port, user, key file/password, and paths for flexible file operations. - Ensure the script handles connection failures and file permission issues with graceful recovery and clear exit codes. Key Deliverables: - A standalone .py file or small package utilizing only the standard library and pexpect. - Successful unattended file transfers in both directions, validated during testing. - Comprehensive exception handling for all specified failure scenarios. - README documentation and a brief, repeatable test plan. Quality & Performance: - Emphasis on robustness with clear logging of errors and recovery actions. - Ensure compatibility across Windows, Linux, and macOS platforms. Timeline & Next Steps: - I estimate a delivery timeline of 1-2 weeks, with ongoing support available post-delivery. Best Regards, Karthik B Resonite Tech
$15 USD in 40 days
5.3
5.3

Hi. I have no problem implementing this. However, a few questions: What should your script do? Where does the script get the host, username, port, password, key file information from? Where does the script get the information on what to do from? I will spend most of the time for this on figuring out how to produce errors, e.g. simulating a connection failure. Also setting up a windows vm to repeat the connection failure test. Basic implementation should take an hour. Creating some error scenarios will take longer.
$8 USD in 10 days
5.2
5.2

Hi, CnEL India can develop a clean, documented Python 3 solution for automated SFTP uploads and downloads using the native SFTP client and `pexpect`. **Our methodology:** * Build a configurable script accepting host, port, username, authentication method, and remote/local paths at runtime. * Implement key-file and password authentication with secure credential handling. * Automate SFTP commands and parse responses to confirm transfer completion. * Support both upload and download operations with clear status reporting. * Handle connection failures, permission errors, timeouts, and interrupted transfers with controlled retries. * Use meaningful exceptions, logs, and non-zero exit codes for failed operations. * Keep the implementation modular and compatible with Windows, Linux, and macOS, subject to available SFTP/SSH environments and dependencies. * Test successful transfers and simulated failure scenarios using sample files. * Deliver the Python script/package, README, repeatable tests, and setup instructions. We would first validate the target Windows environment and its `pexpect`/SSH compatibility, then implement the transfer workflow and verify the acceptance criteria before handover. ::
$12 USD in 80 days
5.3
5.3

As a seasoned Senior Software Engineer, my strengths lie in my extensive knowledge and experience in Python programming. I've been successfully building projects from the ground up since 2015, and I am confident that I can deliver an exceptional solution to your Python SFTP Automation project through pexpect. My familiarity with the pexpect library and its integration with the native sftp client will be valuable in ensuring a clean, efficient, and well-documented code for your program. Robustness is central to any project's success, and based on my past works, I ensure my codes have exceptional error-handling capabilities and are capable of gracefully recovering from connection failures or any other mid-transfer interruptions. Importantly, this program will not only run smoothly on Windows but also Linux and MacOS as specified in your project description. A powerful organizational skill that I bring to the table is maintaining one-file solutions using just the standard library plus pexpect. So you can rest assured that I'll hand over a single self-contained .py file - or a small package if preferred - along with a comprehensive README file to help you replicate and maintain the software in the future. Choosing me for this task guarantees you an outstanding result, let's get started!
$5 USD in 40 days
5.1
5.1

Hi, The main challenge is making native SFTP transfers reliable even when connections drop or permissions fail. I’d build a cross-platform Python 3 solution using pexpect, with runtime-configurable connection details, key/password authentication, and upload/download support. I’d implement controlled retries, transfer interruption recovery, clear error messages, meaningful exit codes, and logging, along with a README and repeatable tests for both transfer directions. Ready to start right away. Best regards, Shakila Naz
$5 USD in 40 days
5.3
5.3

Hi, The main thing I’d pay attention to here is making the pexpect interaction reliable across different SFTP responses, rather than just scripting a successful login/transfer path. I can build the Python wrapper around the native sftp client with runtime host, port, username, key/password and path arguments, supporting both upload and download. I’ll handle prompts and transfer responses explicitly so connection failures, permission errors and interrupted transfers produce predictable retries or clean non-zero exits instead of leaving the process hanging. I’d also verify the Windows target carefully, since native SFTP/terminal behavior differs from Linux/macOS, while keeping the interface consistent across platforms. I can provide the script, a small repeatable test and concise setup/run documentation. Thanks, Albert
$3 USD in 7 days
4.7
4.7

Hi, I can build a reliable Python 3 SFTP automation script using pexpect, supporting uploads, downloads, SSH keys, passwords, and configurable connection settings. I’ll include automatic retries, clear error handling, and proper exit codes for failed transfers. The solution will be clean, documented, and tested for Windows, Linux, and macOS compatibility, with a simple README and reproducible tests. I can start right away.
$5 USD in 40 days
4.9
4.9

Hello, Expert in Python SFTP Automation via pexpect I can develop a documented Python 3 SFTP automation script using pexpect, supporting uploads, downloads, runtime parameters, password/key authentication, configurable retries, and clear error handling for connection failures, permissions, and interrupted transfers. I’ll include repeatable tests, a README, and meaningful exit codes. ❓ Will the script run on native Windows or through WSL? This affects pexpect compatibility. ❓ Should interrupted transfers resume from the last successful position, or restart the affected file? Regards, Chirag
$10 USD in 40 days
4.7
4.7

Hello, I’m Fizza, experienced in Python development, automation, command-line tools, file transfer workflows, and cross-platform scripting. My approach: I’ll develop a clean, well-documented Python 3 solution using pexpect to control the native SFTP client, supporting uploads and downloads with runtime configuration for host, port, username, authentication method, and file paths. I’ll structure the code to handle interactive prompts reliably and support Windows-hosted SFTP servers as well as Linux and macOS clients where the required dependencies are available. I’ll implement robust exception handling for connection failures, authentication errors, permission issues, and interrupted transfers, with configurable retries, clear diagnostic messages, and appropriate non-zero exit codes. I’ll also provide a README, a repeatable test procedure, and sample transfer tests to verify unattended uploads and downloads across the supported environments. Best Regards, Fizza
$2.50 USD in 40 days
4.7
4.7

Hello, I can build a robust Python SFTP automation script using pexpect that handles all your requirements while avoiding common pitfalls like hardcoded credentials or fragile connection handling. I’ve built a similar system for a client that needed automated file transfers—it used pexpect to parse the native sftp client’s prompts, which was more reliable than direct SSH libraries for their Windows host. I’d approach this by wrapping the native sftp client in pexpect to handle the command-line interface, then adding runtime parameter validation and retry logic for connection issues. The biggest improvement will come from structured error handling that distinguishes between recoverable failures and fatal errors. Proper setup will reduce manual intervention by automating retries and logging, while the script’s modular design will make it easy to extend for future needs. I’ll include a README with test instructions and a sample config file to demonstrate the full workflow. Once the script is complete, I’ll provide a test run with sample files to verify it works as expected. If this sounds useful, I’d be happy to discuss the details further. Thanks, Lazar.
$2 USD in 40 days
4.4
4.4

Hi, I am a Python automation developer with 8 years of rich experience in software development, with a background in scripting, file transfer automation, and cross platform tools. I am familiar with Python 3, pexpect, SFTP, subprocess handling, exception handling, SSH authentication, and automated testing. For this SFTP automation tool, I can build a self contained Python script that drives the native SFTP client through pexpect, supports uploads and downloads, and accepts connection details and file paths at runtime. I will add response based command handling, configurable retries, clear error messages, appropriate exit codes, and documentation with repeatable tests for Linux, macOS, and Windows target environments. I'm an individual freelancer and can work on any time zone you want. Please contact me with the best time for you to have a quick chat. Looking forward to discussing more details. Thanks. Emile.
$15 USD in 40 days
4.5
4.5

Hi, Good day! I've carefully reviewed the requirements for Python SFTP Automation via pexpect and I'm confident I can deliver outstanding results that exceed your expectations. My portfolio reflects my expertise in Python, Software Development, Automation and Python, Automation, Software Development. I have case studies that closely match Python SFTP Automation via pexpect. Looking forward to the opportunity to collaborate on Python SFTP Automation via pexpect. I'm confident we can achieve great results together. Regards, Manisha
$5 USD in 40 days
4.3
4.3

East Brunswick, United States
Payment method verified
Member since Feb 28, 2016
$30-250 USD
$2-8 USD / hour
$10-30 USD
$2-8 USD / hour
$30-250 USD
$10-30 CAD
₹12500-37500 INR
$750-1500 USD
₹1500-12500 INR
$10-30 USD
$750-1500 USD
$30-250 NZD
$250-750 USD
₹750-1250 INR / hour
₹150000-250000 INR
$250-750 USD
$1500-3000 AUD
$750-1500 SGD
$2-8 USD / hour
$15-25 USD / hour
$250-750 AUD
$2-8 CAD / hour
$250-750 USD
₹600-1500 INR
₹12500-37500 INR