-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error occurred while setting the permissions and/or timestamp.** #127
Comments
Lets see if we can figure this out, I haven't seen this exact issue, I also don't have an AWS sub, so its going to be hard for me to test. first, can you update to the latest WinSCP PowerShell Module Version, 5.17.2.0, you are quite a few versions behind. next, try just using the transfer options, I don't think you need to change the permissions at all
lte me know how it goes. thanks. |
That appears to have allowed the transfer when I ran a small portion of the script but running the entire script I now get a new error: `New-WinSCPSession: Exception calling "Open" with "1" argument(s): "The version of C:\Program Files\WindowsPowerShell\Modules\WinSCP\5.17.2.0\Public..\bin\winscp.exe (5.17.2.0) does not match version of this assembly
|
you need to close and reopen your console, the old dll is still loaded. you can also just go delete |
ah excellent, easy fix. everything appears to be working now, thank you! |
hey no problem, glad its working for you! |
Please fill in the following fields, replacing the values inside the brackets
{{ }}
.Issue Description
We have a new service whos sftp server is giving me an error when uploading "error occurred while setting the permissions and/or timestamp.**" from what I've found you need to use new-winscptransferoption and new-winscpitempermission however I've not been able to get them to work
Example
Expected Output
{{ Please provide what expect to happen. }}
Actual Output
{{ Please provide what actually happened. }}
WinSCP-PowerShell Version
Version 5.13.9.1
Environment
Windows 2019 Datacenter 64 bit
Name : Windows PowerShell ISE Host
Version : 5.1.17763.1007
InstanceId : 4f74bab2-88e8-451b-ac18-0396ca43d083
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.Host.ISE.ISEOptions
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
The FTP server is managed AWS SFTP server
The text was updated successfully, but these errors were encountered: