PDA

View Full Version : Issuing specific commands during an ftp session


cringthis
12-Apr-2006, 11:35 AM
When in an active ftp session, is there a way to issue a command directly to the ftp server? Alternatively, is there a way to run a short script (set of ftp commands) after the connection has been established?

I'm connecting to an ftp site where I need to 'quot auth' and 'quot resp' after connecting.

Sorry if this has been posted before, but I couldn't dig it up...

Thanks.

Chris

[ Note also that I had to resort to Indy 9 to get ftp to connect through my firewall - SmartFTP wasn't up to the challenge. :( ]

Chris
12-Apr-2006, 06:51 PM
You can issue an arbitrary FTP command using the registry tweak "AfterLogin".

See: http://www.scootersoftware.com/support.php?c=kb_tweaks.php

I'm curious as to why SmartFTP didn't work with your firewall. What firewall are you using? Did you get an error message when you used SmartFTP?