Archive for the ‘FTP Script’ Category

Sysax FTP Automation Overview

Saturday, March 8th, 2014

Introduction

FTP stands for “file transfer protocol.” FTP powers one of the fundamental Internet functions and is the prescribed method for the transfer of files between computers. It is also the easiest and most secure way to exchange files over the Internet. Sysax FTP Automation is a scripting and scheduling program for Microsoft Windows that enables the creation, debugging, and execution of file transfer related tasks.   Sysax FTP Automation enables you to automate both simple and complicated file transfer sequences using either a simple FTP scripting language or a list of the FTP commands to execute. Sysax FTP Automation is currently used by fortune 1000 companies, educational institutions, nonprofit organizations, and many small businesses worldwide.

 

What is used for?

o The most common use of FTP is to download files.

o FTP is vital to the MP3 music sharing, most online auctions and game enthusiasts.

o The ability to transfer files quickly and reliably is essential for everyone creating and maintaining a web page.

 

Benefits of Sysax FTP Automation

Secure file transfers

Sysax FTP Automation supports SSH2 based SFTP, SSL/TLS based FTPS, and regular FTP. Public key authentication and client side SSL certificates are also supported.

Easy automation

Automation wizard automatically generates file transfer scripts that can be customized and fine tuned. It is also an integrated editor and debugger enables scripts to be stepped through line by line to debug them. The integrated scheduler runs as an NT service and can execute scripting tasks and other programs.

Outstanding value

File transfer scripts can be executed using the scheduler or from within other scripts or programs. The Enterprise edition supports execution of up to 16 file transfer tasks simultaneously. A Personal edition of the product is available, free for non-commercial use. It is easy to install and does not require advanced IT skills to manage. The program can even be used as a direct replacement for the ftp.exe command line program that is shipped in Windows.

Protocols supported include FTP, FTPS, and SFTP

Support for public key authentication and client side SSL certificates

Support for email notification

Open PGP Encryption and decryption support

Supports file resuming for both uploads and downloads

File compression and decompression

Command line FTP tool and FTP scripting

Task Scheduler that runs as a Windows Service

Certified for Windows Vista

Certified for Windows Server 2012

 

System Requirements

Sysax FTP Automation runs on all versions of Microsoft Windows operating system including:

o Windows 95

o Windows 98

o Windows ME

o Windows 2000

o Windows XP

o Windows 2003

o Windows Vista

o Windows 7

o Windows Server 2008

o Windows 8

The minimum hardware required to run Sysax FTP Automation are:

o  Pentium Class or higher processor

o At least 16MB of free system RAM

o  At least 10MB of hard disk space

o  Internet Connection or Local Area Network Connection

Guide to Windows Batch FTP

Saturday, March 27th, 2010

In order to access Window’s MS-DOS (Microsoft disk operating system) batch FTP, you need to first go to a DOS prompt, type FTP, and then hit enter. Once you’ve executed the program, then congratulations! You’ve just discovered the Windows-incorporated command-line FTP application that ships together with Windows NT or 95 and beyond. You can use this DOS-based FTP just like any other FTP client, except this time around, you need to at least have a basic understanding of how the old standard of MS-DOS works.

Scripting using FTP
FTP scripting is a relatively easy task. All you need to do is make a text document using FTP commands and use it to make your DOS-based FTP program do whatever you want without you manually entering each and every last command you need. For example, your script may contain the following commands:

open ftp.domain.com
mikesmith
t3n4y488
cd public_html
dir
get file.txt
bye

In order to execute the script if it were named “filetxtget.txt”, you should type:

ftp -s:filetxtget.txt

This script will help you login to the FTP site ftp.domain.com. Instead of waiting for a prompt for a username and password, the script itself will handle the details of your connection; you just need to substitute “mikesmith” for your username and “t3n4y488” for your password.

After you’ve logged in, the script will immediately access the public_html directory, retrieve a directory listing, and then utilize the “get” command to recover the file named file.txt. As soon as the file has been downloaded, the script will automatically log you off with the “bye” command. It’s that simple. At any rate, if you find Windows FTP’s scripting options sparse and limiting, consider using WinSCP.

Command Line Options for FTP
FTP has the following command-line options: “-v” represents the command that holds back the display of remote server responses. Meanwhile, “-d” activates the debugging feature, while “-i” deactivates interactive prompting whenever you’re doing numerous file transfers. Meanwhile, the “-s:filename” command (wherein “filename” represents the text file script you made) will automatically execute whatever commands are specified within your FTP script file after FTP starts.

Moreover, you shouldn’t confuse “-a” with “-A”. The lower case “-a” refers to the use of any local interface when you’re binding a data connection. In contrast, “-A” allows you to login to your FTP server anonymously. Furthermore, “-n” refers to auto-login suppression once an initial connection has been established, while “-w:buffer” refers to the override command for the default transfer buffer size of 4096. Finally, the “host” command allows you to know the IP address or host name of the remote host you’re connecting to.

Local FTP Commands
The local FTP commands you can use include the following: rmdir, open, lcd, close, rename, mput, help, cd, remotehelp, mls, hash, bye, verbose, recv, mkdir, glob, binary, user, quote, mget, get, bell, type, quite, mdir, disconnect, ascii, trace, pwd, mdelete, dir, append, status, put, ls, debug, ?, !, send, prompt, literal, and delete.

For many an administrator, having a built-in FTP program available on most DOS-based Windows operating systems is a very useful advantage. Unfortunately, it could also alienate modern PC enthusiasts because of their unfamiliarity with the old platform. Using FTP is hard enough as is, so adding the factor of it being in MS-DOS can make things a lot more complicated than they should be. Nevertheless, by educating yourself with basic FTP commands and streamlining the process with an FTP script, you should be able to use the program much easier and faster.