1.

Solve : Connect to FTP with Acount and username?

Answer»

I have an ftp site that requires an account along with the username and a password. I know there is the USER command for the username and password but what is a command for me to enter the account?

Host: ftps01.oracle.com
User:
Account:
Password:

Thanks.If you are doing this with a batch file you need to create a script file that the ftp commad uses.
 http://www.dostips.com/DtTipsFtpBatchScript.phpThank you for the response. But the problem is with login in to this account using the dos command. The ftp requires to enter a username, password and account. What's the dos command for specifying the account?I am not understanding what you mean by account?

You need three things to login to an ftp site.
Ftp address
Username
PasswordSome ftp sites, like this one, have a fourth requirement: account.From what I have read on most websites just from the little Google Searching I did for you. It looks like you specify the Account after the password.
So if you have an ftp script that looks like this.

open ftp.domain.com
user MyUserName
mypassword
myaccount
put myfile.txt
quitOk thank you for helping me. Here's where I'm stuck now:

530 Non-anonymous sessions must use encryption.
Login failed.
ftp>

I THINK it is because I need to SET FTP over SSL Encryption. But how do I do that in dos command?

Here's what I get:



Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\AdemarN>ftp ftps01.oracle.com
Connected to bigip-ftps01.oracle.com.
220-    ========================= Security Notice ========================
220-    = Access to Oracle On Demand and the Oracle network is limited   =
220-    = to Oracle On Demand customers and authorized Oracle users.     =
220-    = A customer's access to On Demand is subject to the terms of    =
220-    = its On Demand contract; use by authorized Oracle users is      =
220-    = subject to Oracle company policies.                            =
220-    = Unauthorized use of or access to Oracle On Demand is subject   =
220-    = to civil and criminal PENALTIES.                               =
220-    ========================= Attention ==============================
220-    = All files older than 30 days will be purged without notice.    =
220-    ========================= Attention ==============================
220-
220-
220
User (bigip-ftps01.oracle.com:(none)): [usernamehere] [passwordhere] [acconthere]
530 Non-anonymous sessions must use encryption.
Login failed.
ftp>AFAIK you can't with the builtin ftp.exe in Windows.And that's by design...If you Google search HARD enough you will a couple of free ftp clients that support ssl and one of them uses the same syntax as the windows ftp client.



Discussion

No Comment Found