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: Overriding the Type I command
tfrugia

From: Hillsboro, OR USA
Posts: 23
Member Since: 04/25/05
posted January 30, 2006 7:19 PM

Is it possible with this tool when putting or getting a file to send a different command? I need to use something other than Image, ASCII, or Ebdic. Can I somehow stop your component from sending the TYPE I and have it send 'TYPE SD'?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 30, 2006 8:09 PM

Yes, please see the Invoke method in the Online Help. You should be able to send the "TYPE SD" command.
tfrugia

From: Hillsboro, OR USA
Posts: 23
Member Since: 04/25/05
posted January 30, 2006 8:24 PM

Sorry I wasn't more clear. I can send the TYPE SD command just fine, but when it comes to 'putting' a file the Dart component automatically sends the TYPE I command. Is there any way to tell it not to send the TYPE I?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 30, 2006 10:30 PM

Oh I see what you mean. Sorry, but no there isn't. Please contact David Harry if this is something you would like us to add in the future. You should already have his email address from the last email he sent you.
thomasd

From: Munich, Germany
Posts: 1
Member Since: 04/26/06
posted April 26, 2006 3:31 PM

I just read this thread and I have a question too. When putting multiple files to the server the TYPE I command is sent on each "put". This heavily slows down the transfer speed. I can not use put with multiple files (e.g. wildcard) at once because the directory changing on the server does not work correctly. Therefore I have to use put on each single file I want to transfer. Is there a workaround for not sending TYPE I before put available?

Thanks
Thomas
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted April 27, 2006 3:22 PM

The Data mode (Binary/ASCII) needs to be set just once before transfers and it will use that mode, until we toggle its value.
So If you set Type to Binary and do any number of transfers, all subsequent transfers will be made in Binary mode.

I tried replicating this behavior at my end, and the trace shows that our control is not sending TYPE I command before each Put command.
It is sent only once, before the first Transfer.
You may create a trace log using the Trace Event of FTP, to see what all commands are being exchanged between the server and the client.

Let me know if you have further questions.

-Raj
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX