Link to home
Start Free TrialLog in
Avatar of NickVandoorne
NickVandoorne

asked on

FTP command client on windows that offers passive mode

What is the alternative for the FTP.exe command line FTP of microsoft when I need a passive mode FTP client that can execute in batch some FTP-commands.  The "naked" FTP log of the batch should be placed in a file.

I do not need any fancy interactive user interface, only the same basic functionality of the standard FTP.exe with PASV command.
ASKER CERTIFIED SOLUTION
Avatar of hypersol
hypersol

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of joeposter649
joeposter649

You can use FTP in batch mode using switches.  I believe you need the -s switch AND -v to the supress password prompt.  
Avatar of NickVandoorne

ASKER

NcFTP works fine...
However there are inconveniences :
1) you can not execute FTP-commands in a "notepad" file but must use the NcFTPGet/NcFTPPut.  These commands try all sorts of FTP commands that my FTP server does not understand and thus produce a very messy and bulky FTP-log.
2) my FTP server (on a Tandem non stop system) is normally retriced to very limited set of FTP commands (only put get and ls allowed).  If it receives somthing it does not know --> connection is dropped.  I will have to add the unknown commands as acceptable ...
3) the filename must be the same on both ends.  My FTP-server runs an a Tandem non stop and has some restrictions on filenames that the Windows client has not...

In that repect I like the "dumb" FTP.exe in bath mode more : It gives you full control.
OK but the DOS FTP does not support passive mode as far as I can tell
try using tftp.exe available under windows2000
wget also works well (free download).  It's a port from UNIX and it offers passive mode and (I think) batching.
wget does not allow renames, dir listings and puts .... and thus problematic for what i want.
However TransSoft Performer (version 3 is free) is a standalone, very powerful FTP Scripting
utility for Windows environment that was very convenient for what I wanted and does the job to my satisfaction.
You're correct that Windows Command FTP does not support passive mode... you can set the host to behave in passive mode, but your Windows client will still be in active mode.

Download MoveIt Freely:
http://www.standardnetworks.com/products/?category_number=6&subcategory_number=1
Its free, supports scripts and works wonderfully.
Alright I am using now transsoft and it works for what I need.
I can create batch scripting and it is quite advanced.
Then I can create a .exe with it