Merge pull request #1301 from Pennyw0rth/neff-fix-nfs-upload

Fix file uploading in NFS
This commit is contained in:
Alex authored and GitHub committed 2026-07-02 19:57:21 +02:00
commit d9871c5a04
1 file changed
+4
+4
View File
@@ -431,6 +431,10 @@ class nfs(connection):
self.logger.fail(f"{local_file_path} does not exist.")
return
# Do a bit of smart handling for the remote file path
if remote_file_path.endswith("/"):
file_name = os.path.basename(local_file_path)
self.logger.display(f"Uploading from {local_file_path} to {remote_file_path}")
try:
# Connect to NFS