login about faq

Hello,

We have a program that is successfully working with one of our clients via the Chilkat.FTP2 control. We have a new client and they do not have FTP but SFTP. I have been looking at the Chilkat.SFTP control and notice that it has different methods and properties. My questions are:

1) Will the Chilkat.SFTP do everything that the Chilkat.FTP2 will do, albeit with different methods and properties? 2) Is there something in Chilkat.SFTP that will correspond to FTP2.NumFilesAndDirs ?

Thanks so much.

asked Jul 11 '13 at 10:18

Ann's gravatar image

Ann
1111


They pretty much have the same functionality, and yes they are different. We have two seperate classes (perl), and it would really be very nice to have just one method, with a type of ftp as a parm. The methods would all be the same, and the brunt of the work would just be done behind the scenes.

link

answered Jul 11 '13 at 15:12

cdlvj130's gravatar image

cdlvj130
9691017

In FTP2 you could get the number of files and directories in the current remote directory via the command: FTP2.NumFilesAndDirs

How would you do this with SFTP? Say I passed in a path like: "root/dir1" . Is there a way to get the number of files and directories in this path?

(Jul 23 '13 at 12:01) Ann
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×200
×131

Asked: Jul 11 '13 at 10:18

Seen: 1,044 times

Last updated: Jul 23 '13 at 12:01

powered by OSQA