Getting command-line FTP working with Filezilla
November 7th, 2007 1 Comment
The problem:
Set up command-line FTP access to a Windows 2003 Server machine to allow scripts to save files to that server via FTP.
The solution:
FileZilla - but you need to know the recipe of the secret sauce!
I started by installing Windows own FTP server (an extra Windows component that you can add via Add/Remove Programs). I then enabled this in the IIS Manager. However, the problem I got was that, although I could FTP to the server I couldn't save anything, do an ls or a pwd or anything useful.
So plan 2, after disabling Windows FTP, was to use FileZilla. This is an open source FTP/SCP project and you can download server and client software here:
However, I'd recently installed Apache/PHP/MySQL using the very wonderful XAMPP (see XAMPP - Web server + MySQL in minutes), so I already had FileZilla, I just hadn't enabled it. I did so and everything seemed to work except that when I FTPed to the machine as any user, with a legitimate password I'd get a "530 Login or password incorrect" message:
C:\Documents and Settings\ac>ftp showcase.memex.co.uk
Connected to showcase.memex.co.uk.
220-FileZilla Server version 0.9.23 beta
220-written by Tim Kosse (Tim.Kosse@gmx.de)
220 Please visit http://sourceforge.net/projects/filezilla/
User (myserver.myorg.co.uk:(none)): Administrator
331 Password required for administrator
Password:
530 Login or password incorrect!
Login failed.
The secret is that you have to go into the Admin program for FileZilla and add users/groups in there, specifically assigning each access to parts of the file system and defining what they can do (e.g. read, write, etc).
With XAMPP this is easy. From the XAMPP Control Panel, click Admin for FileZilla:
Enter the Administrator password:
Create groups with the appropriate access rights. Then create users and assign them to a group:
Now you can open up a command console on a remote machine, enter ftp servername and log in to the server to put/get files as required.
Potentially similar posts
- Perl basics for beginners (on Windows) – August 2010
- Well, you wouldn’t want someone reading your diary, would you? – March 2009
- Revealing Vista’s hidden Administrator account – November 2008
- Deleting a symbolic link via FTP – October 2008
- Migrating a hosted WordPress site to your local PC – October 2008
August 31st, 2009 at 5:52 am (#)
Guys,
i have two machine. one machine on 10.20.x.x (OS server 03) subnet other 192.168.x.x subnet with /24 mask. 10.20.x.x machine can run ftp using file zilla client to download / upload , but unable to Ftp 192.168.x.x at port 1414 (for some reason we ftp on this port).
on 10.20.x.x subnet machine can run filezilla client properly. but we were unable to ftp 192.168.x.x right.
now. we can ftp 192.168.x.x machine from 10.20.x.x if we disable ISA firewall client.
our requirements are to run filezilla client as well as ftp 192.168.x.x machine at the same time (through a script).
Any thoughts / Ideas?