Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Is there a EXIST function or equivalent to verify if FTP file is there
Matt2012
matt.yang@arrisrd.cn

From: Shenzhen, Peoples Rep of China
Posts: 2
Member Since: 12/29/11
posted December 29, 2011 5:17 AM

Hi there,
Here is the current VB code

Dim FTP as DartFtp.Ftp
FTP.Delete "abc.txt"

Is there any subroutine under DartFtp.Ftp where i can use to detect if the file is there before delete the file?

Thanks!!
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted January 3, 2012 9:05 AM

Hello,

No command like that exists in the FTP protocol. To check if a file exists on your server, use the List method.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Matt2012
matt.yang@arrisrd.cn

From: Shenzhen, Peoples Rep of China
Posts: 2
Member Since: 12/29/11
posted January 5, 2012 4:34 AM

Thank you Nick!!
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX