SftpFile from filepath?

May 5, 2011 at 4:39 PM

Hi again,

Is there a possibility to retrieve single SftpFile from filepath or just its attributes? When will implement file existence checking?

Coordinator
May 5, 2011 at 5:35 PM

You can retrive SftpFile ListDirectory function but it will return list of files in directory where you can choose one the you need.

 

I hope I will have some functions ready by tomorrow, working on them right now.

Coordinator
May 5, 2011 at 6:28 PM

Just checked in 7979 changes set with new Get function which will give you SftpFile which represents either Directory of a file.

If not found will return null.

 

Let me know if it helps you.

 

Thanks,

Oleg

May 6, 2011 at 11:06 AM

Thanks it works perfectly.