Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
13.5k views
by (160 points)
I am trying to decide if this product will work for our company's needs. Can I configure it so that when a user signs in they are directed to a specific folder so each of my clients only sees its own files and not everyone else

7 Answers

0 votes
by (51.6k points)
Yes, the FTP client application that you see on integralftp.com is built on the Integral FTP client library which is a general-purpose API. You have full access to all of the Javascript source-code so you can modify it in any way you like.

In order to have a particular action take place after the user has connected you would modify the onConnect callback.

In the included FTP client app the callback is set to ftp_onConnect, which you'll find in ftpevents.js. The code for this is essentially:
function ftp_onConnect(status) 
{
   if (status.success)
      ftp.directoryList();
}

So it simply requests a listing of whatever the current directory is.

If you would like to change into another directory first then you should call changeDirectory immediately after connecting as follows:
function ftp_onConnect(status) 
{
   if (status.success)
      ftp.changeDirectory({user's directory});
}


Does that make sense?

- Hans (EnterpriseDT)
0 votes
by (160 points)
Thanks. That's exactly what I'm looking for. Let me pass this on to my customer.

Regards,
Robert Liberman
0 votes
by (260 points)
After modified, how to count the developer license?
0 votes
by (162k points)
Can you clarify your question? What does "after modified" mean?
0 votes
by (260 points)
Sorry, may be explain not in detail.

If the source code has been modified, is it still count the commerically per developer license as one?

Thanks.
0 votes
by (51.6k points)
Yes, modifying the source-code makes no difference to the licensing.

- Hans (EnterpriseDT)
0 votes
by (260 points)
thank you for your reply.

Categories

...