How to check remote file existance using wod sftp - WeOnlyDo Discussion board

How to check remote file existance using wod sftp (wodSFTP / wodSFTP.NET / wodSFTPdll)

by lchopra, Monday, September 10, 2007, 12:18 (6096 days ago)

Hi I m working with wodsftp active x control using visual basic 6.0, please suggest me how can I check that remote file exists or not.
Thanx in advance

Re: How to check remote file existance using wod s

by wodDamir, Monday, September 10, 2007, 12:49 (6096 days ago) @ lchopra

Hi Ichopra,

You could use RealPath Method to check if file exists on the server or not. If file doesn't exist on the server, you should receive an error.

If it does exist, then you should receive path to the file on the server.

Regards,
Damba