|Dart Home | PowerTCP FTP for .NET | Custom Development||Reply | PowerTCP FTP for .NET Topics | Forums|
|Author||Forum: PowerTCP FTP for .NET|
Topic: How to find file exist in ftp remote path or not
Member Since: 03/20/14
|posted March 26, 2014 1:26 PM
I want to check whether file exist in ftp remote path or not before copying it to remote path.
Please let me know if ftp has any function to check whether file exist or not in ftp remote path like we have in dot net.
|Nick B (Admin)
From: Utica, NY USA
Member Since: 05/25/10
Extra Support Options
Custom Application Development
|posted March 26, 2014 2:35 PM
Ftp does not contain an identical method, but this functionality may be implemented with our component. The Ftp.List method includes a pattern parameter; specify your file's name as the argument, and the returned Listing object will contain an entry for the file if it is present on the server, or no entry if it is not.
Alternatively, specify an empty string for the pattern argument (which will list all files), and search through the returned listing for the file.
|Reply | PowerTCP FTP for .NET Topics | Forums|
|This site is powered by PowerTCP WebServer for ActiveX|