Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8870201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:39:50+00:00 2026-06-14T17:39:50+00:00

Following various guides around the net, I put together a batch file that should

  • 0

Following various guides around the net, I put together a batch file that should upload a .zip to our central file server. However, If I use “ftp -n -s:ftpup.dat 108.174.61.82 20” it doesn’t work with the port 20 added to the host. I have also tried “ftp -n -s:ftpup.dat” then “open 108.174.61.82 20” on the next line which also fails. What exactly am I doing wrong?

cd MySQL
@echo off
echo user backups>ftpup.dat
echo passwordhere>>ftpup.dat
echo cd /MySQL>>ftpup.dat
echo binary>>ftpup.dat
echo put MYSQL-%location%.%backuptime%.zip>>ftpup.dat
echo quit>>ftpup.dat
ftp -n -s:ftpup.dat serveriphere 20
del ftpup.dat
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:39:51+00:00Added an answer on June 14, 2026 at 5:39 pm

    Are you running FTP server or port 20?

    Telnet serveriphere 20 to check if the port is listening, maybe you have
    it running on default port 21

    PS: Is it raw ftp protocol?. Maybe It is using SFTP or FTPS

    EDIT: Try with

    ftp -s:ftpup.dat serveriphere 20

    Remove the -n autologin flag

    Try with this:

    Echo ~UsrName~> ftpcmd.txt
    echo ~myPass~>> ftpcmd.txt
    echo binary>> ftpcmd.txt
    echo prompt n>>ftpcmd.txt
    echo mget *.exe>> ftpcmd.txt
    echo bye >> ftpcmd.txt
    ftp -s:ftpcmd.txt ~ftpAddress~
    del ftpcmd.txt
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to develop a website with Django following various guides, the documentation
I'm just getting started setting up cedet following various guides including Alex Ott's. Here
How can the following function be implemented in various languages? Calculate the (x,y) point
I have the following scenario: I have various user's data stored in my database.
I've been using the following code to create various struct, but only give people
I am trying to split apart various HTML documents based on the following rules:
I need to do the following .. have come across various examples but i
In various guides and scripts I come across people tend to use different syntax
Following various example configurations from Spring documentation as well as some forums on the
i am trying to learn Java, Hibernate and the MVC pattern. Following various tutorial

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.