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

  • SEARCH
  • Home
  • 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 6765549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:43:29+00:00 2026-05-26T14:43:29+00:00

I have setup a separate FTP account for this. Here is the info: FTP

  • 0

I have setup a separate FTP account for this.

Here is the info:

FTP Username: ahk@proflightsimulatoreview.com
FTP Server: ftp.proflightsimulatoreview.com
FTP Server Port: 21
FTP Password: ahktest

Text file I want to upload: C:\Users\Kyle\Desktop\ftptest\thetest.txt

Please show me how to do this with batch. My understanding is that you make a separate txt file with the FTP commands and then you use a batch file to run it. Well I must have not plugged in the info right because it didn’t work.

So here I am giving you the information. Please show me how to upload a text file.

  • 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-05-26T14:43:30+00:00Added an answer on May 26, 2026 at 2:43 pm

    I just put HELLO.TXT in your ftp root by;

    1. Saving this as MYFTP.bat:

    @echo off
    echo user ahk@proflightsimulatoreview.com> ftpcmd.dat
    echo ahktest>> ftpcmd.dat
    echo put %1>> ftpcmd.dat
    echo quit>> ftpcmd.dat
    ftp -n -s:ftpcmd.dat ftp.proflightsimulatoreview.com
    del ftpcmd.dat
    

    2. From the command line, in the same directory as MYFTP.BAT, running;

    MYFTP.BAT c:\temp\hello.txt
    

    result

    220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    220-You are user number 2 of 50 allowed.
    220-Local time is now 05:17. Server port: 21.
    220 You will be disconnected after 15 minutes of inactivity.
    ftp> user ahk@proflightsimulatoreview.com
    331 User ahk@proflightsimulatoreview.com OK. Password required
    
    230-OK. Current restricted directory is /
    230 0 Kbytes used (0%) - authorized: 51200 Kb
    ftp> put hello.txt
    200 PORT command successful
    150 Connecting to port 59363
    226-0 Kbytes used (0%) - authorized: 51200 Kb
    226-File successfully transferred
    226 0.563 seconds (measured here), 14.20 bytes per second
    ftp: 8 bytes sent in 0.34Seconds 0.02Kbytes/sec.
    ftp> quit
    221-Goodbye. You uploaded 1 and downloaded 0 kbytes.
    221 Logout.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following setup: Sharepoint 2010 with SQL Server and Office 2010. This
I have setup web dav on windows server 2008. It seems to work fine
I have setup a git repository in a linux server, and installed the latest
I have setup my windows in a certain way. How do I save this
I have this countdown script wrapped as an object located in a separate file
SETUP : I have this app which has 4 activities in a linear path,
Our setup I have a small hosting setup consisting of an SQL Server (2008),
I have a project setup with two separate projects in two separate schemes, the
I finally have TeamCity setup to build on Source Control changes, and a separate
We have subversion setup with http access through apache at http ://svn.local/ This provides

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.