| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: VB VERSION OF WEB-BASED FTP CLIENT |
| equator From: Glasgow, USA Posts: 3 Member Since: 09/09/03 |
posted September 9, 2003 2:00 PM Hi, Has anyone converted the supplied asp.net sample (which is in c#) for the ftp .net component into vb.net? I'm really keen to get hold of it if they have as I cant do c#. Thanks in advance, Gareth |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 9, 2003 2:45 PM Here is a conversion one of our customers did: http://support.dart.com/downloads/FTPListView-VBASP.zip |
| equator From: Glasgow, USA Posts: 3 Member Since: 09/09/03 |
posted September 10, 2003 9:53 AM Tony, Many thanks for this. Gareth |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 10, 2003 9:55 AM No problem! |
| equator From: Glasgow, USA Posts: 3 Member Since: 09/09/03 |
posted September 11, 2003 9:26 AM Tony, Any idea how I go about changing the code so that when it connects it will automatically change to a specified folder upon connection. Is there an event fired that I can catch when the listing is completed, then I can do a m_Ftp.Invoke(FtpCommand.ChangeDir, dir) where dir is the desired directory? Thanks in advance, Gareth |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 11, 2003 9:35 AM Why don't you just make m_Ftp.Invoke FtpCommand.ChangeDir, dir) the first command that you call? Then it will login and call cwd immediately. As far as the events go, if you called beginlist then the endlist event will fire when it's done. If yoy called List, you know you're done when List returns. |
| SteveSmith steve.p.smith@worldnet.att.net From: Marina Del Rey, CA USA Posts: 3 Member Since: 11/13/03 |
posted November 13, 2003 12:28 AM Any ideas on how to FTP from a web client, without first sending the file to the server over HTTP. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 13, 2003 8:40 AM The only way I can think of is if the web page control was client side. Since the control is running on the server, the file has to get there somehow first. |
| SteveSmith steve.p.smith@worldnet.att.net From: Marina Del Rey, CA USA Posts: 3 Member Since: 11/13/03 |
posted November 14, 2003 1:26 AM I bought the component specifically for this, to tranfer files by FTP. I should maybe have done more testing beforehand. Thanks anyway. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|