This repository has been archived by the owner on Feb 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Getting a New-PSDrive fails with error #1
Comments
In a7314dc I changed the code to not check if But this operator throws an NRE if the
|
I've filed PowerShell/PowerShell#4696 Meanwhile I'll revert that commit. |
Done. Note that that FTP server does need a username and password, so you'll need to use the $ New-PSDrive -PSProvider PsFtp -Name 'MyFTPSite' -Hostname 'ftp.rz.uni-wuerzburg.de' -Port 21 -Root / -Credential ([pscredential]::new('anonymous', [securestring]::new()))
$ dir MyFTPSite:
Mode Modified Size Name
---- -------- ---- ----
drwxr-xr-x 01/21/2017 11:36:35 0 MIRROR
drwxr-x--x 07/24/2017 07:52:43 0 tmp
... |
Wow, that was quick, and works flawlessly... Thanks a lot! 👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I started using your PsFTPProvider and was able to compile w/o any errors. When creating a new PS-Drive I get the following error:
For testing purposes I'm using a publicly available FTP server with anonymous access.
The provider is loaded
Do you have any clue what goes wrong here? If you need any further information pls let me know...
The text was updated successfully, but these errors were encountered: