Powershell ftp upload error 530 not logged in
In my case the reason was that the FTP server required SSL. Changing this property on the request solved my problem:
request.EnableSsl = true;
From the original poster Jon:
Solved it, new it would be something stupid. The password had a "$" sign in it, it was within double quotes but I didn't realize it would need to be escaped, just didn't think of it at all. Ironically I had to change the password etc so that it was safe to post.
just remove the double quote from username or password because sometimes $ sign causes problem. Its good to use single quote every time.