mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-15 15:22:44 +02:00
Remove the #!/usr/bin/pwsh line
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
#!/usr/bin/pwsh
|
||||
<#
|
||||
<#
|
||||
.SYNTAX upload-file.ps1 [<file>] [<URL>] [<username>] [<password>]
|
||||
.DESCRIPTION uploads the local file to the given FTP server
|
||||
.LINK https://github.com/fleschutz/PowerShell
|
||||
@ -7,6 +6,7 @@
|
||||
#>
|
||||
|
||||
param($File = "", $URL = "", $Username = "", $Password = "")
|
||||
|
||||
if ($File -eq "") { $File = read-host "Enter local file to upload" }
|
||||
if ($URL -eq "") { $URL = read-host "Enter URL of FTP server" }
|
||||
if ($Username -eq "") { $Username = read-host "Enter login username" }
|
||||
|
Reference in New Issue
Block a user