Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Suppress transparent login
shanejfoster

From: Cincinnati, OH USA
Posts: 18
Member Since: 05/07/04
posted November 16, 2004 4:22 PM

When we login to our FTP server, we have some custom site commands that must be sent before we can transfer any data.

Is there any way to suppres the transparent login?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 16, 2004 4:25 PM

You can use the "Invoke" command to send custom commands.
shanejfoster

From: Cincinnati, OH USA
Posts: 18
Member Since: 05/07/04
posted November 16, 2004 4:43 PM


Just to clarify...

As long as I use "Invoke" to send all of my commands, instead of using the available methods, the transparent login will not occur?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 16, 2004 5:02 PM

Actually the login would still occur. Without having the means to test this quickly, I believe that what you do in that case is call Ftp.Connection.Connect to the server/port. Then you have to use Invoke to send everything (including USER and PASS)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 16, 2004 5:39 PM

It's actually the "RawConnect" method that you are looking for.
shanejfoster

From: Cincinnati, OH USA
Posts: 18
Member Since: 05/07/04
posted November 16, 2004 5:57 PM

I checked the documentation and this is what I was looking for. I will give it a try.
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX