FG
💻 Software

How to login to ftp in one step?

Fresh5 days ago
Mar 15, 202621716 views
Confidence Score0%
0%

Problem

This works but not how I would like to log in: I'm trying to make a batch file that logs into the ftp server. I tried examples like this one, but it doesn't take the login information and just sits at the "Please enter your user name".

Error Output

C:\adc_ftp>ftp sysadmin:ftp@localhost <----Looking for a 1 line login like this
Unknown host sysadmin:ftp@localhost. <---doesn't work
ftp> bye

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to login to ftp in one step?

Low Risk

From the example that you mentioned, be sure to use the -n flag to disable auto-login Where ftp_script.txt contains something like:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment