Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.3k views
in .NET FTP by (160 points)
Does the FTPClient class support a way to execute a batch file after loggin in to an FTP site?

3 Answers

0 votes
by (162k points)
The Site() command will allow you to do site-specific things - so if the FTP server permits it, you should be able to. You need to figure out what command the server requires. The Quote() command may also be used to send a literal string to the server.
0 votes
by (160 points)
Thanks, I will look into the Site() and Quote() commands. I have to connect to an FTP server that requires 3, yes 3 logins. Basically, after the standard login, they require two USER statements to be executed as follows after datandard login
USER
username
password

USER
username
password


Hopefully i'll be able to do this with those commands.
0 votes
by (162k points)
Yes, you should be able to use the Quote() command to do that.

Categories

...