You are currently offline, waiting for your internet to reconnect

How to script ftp commands

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

Author:
Yuval Sinay
COMMUNITY SOLUTIONS CONTENT DISCLAIMER
MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.
SUMMARY
The following article will help you script ftp commands
Tips
How to script ftp commands
 
Before you use the following script, please remember that FTP protocol
 
don’t allow encryptions the authentication process and the data transitions.
 
1. Create a new text file with the following text:
 
     open "myservername/serverip"
     "%username%"
     "password"
     cd /upload
     bin
     hash
     put/get "filename.cab"
     bye
 
  Note: Please choose the correct ftp commands to allow the script to work.
 
2. Save the file as runftp.txt (For example).
 
3. Run the command:
 
   "c:\windows\system32\ftp.exe -s:runftp.txt"
 
 
 
Properties

Article ID: 555976 - Last Review: 09/10/2007 11:39:04 - Revision: 1.0

Windows Vista Business, Windows Vista Enterprise, Microsoft Windows XP Professional

  • kbpubmvp kbpubtypecca kbpubtypett kbhowto KB555976
Feedback
tml>tml>irePV = 1; var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write("