PowerShell File Transfer Errors to FileZilla FTP
Budget: $15 – $25 USD
I'm experiencing intermittent file transfer errors with a PowerShell script that's supposed to transfer files to my FileZilla FTP Server. The issues occur with random files, and there's no discernible pattern or common characteristic among the failed transfers. The error message is as follows:-
TransferFiles : Failed to transfer file: ftp://xxx.xxx.xxx.xxx:2121/ALISONHA/JFF Alison/JFF Alison_20240805_Inc_v1.pbd. Error:
Exception calling "GetRequestStream" with "0" argument(s): "The underlying connection was closed: The server committed a protocol
violation."
At C:\1\fz.ps1:64 char:1
+ TransferFiles $sourcePath $ftpServer
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,TransferFiles
What I Need:
- Troubleshooting of the PowerShell script to identify and resolve the file transfer errors.
- Ensuring all files can be transferred successfully without errors.
- Providing a brief report on the issue, how it was resolved and any suggestions for preventing future issues.
Ideal Skills:
- Proficient in PowerShell scripting.
- Experience with FileZilla FTP Server.
- Strong troubleshooting skills.
- Excellent communication for reporting and explaining technical issues in an understandable manner.
TransferFiles : Failed to transfer file: ftp://xxx.xxx.xxx.xxx:2121/ALISONHA/JFF Alison/JFF Alison_20240805_Inc_v1.pbd. Error:
Exception calling "GetRequestStream" with "0" argument(s): "The underlying connection was closed: The server committed a protocol
violation."
At C:\1\fz.ps1:64 char:1
+ TransferFiles $sourcePath $ftpServer
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,TransferFiles
What I Need:
- Troubleshooting of the PowerShell script to identify and resolve the file transfer errors.
- Ensuring all files can be transferred successfully without errors.
- Providing a brief report on the issue, how it was resolved and any suggestions for preventing future issues.
Ideal Skills:
- Proficient in PowerShell scripting.
- Experience with FileZilla FTP Server.
- Strong troubleshooting skills.
- Excellent communication for reporting and explaining technical issues in an understandable manner.