Filtering requests (wodSFTP / wodSFTP.NET / wodSFTPdll)
Is there a way to filter the requests that a client sends (ie, redirecting an sftp request to a different location?)
by Mike, (7786 days ago)
Is there a way to filter the requests that a client sends (ie, redirecting an sftp request to a different location?)
by Jasmine, (7786 days ago) @ Mike
You mean when he, for example, downloads file, you want to give him some other file to download? Yes, in SftpDownloadFile event you can change 'ResolvedPath' argument to something else. User will not know the difference - but wodSSHServer will send him different file.
by Mike, (7786 days ago) @ Jasmine
You mean when he, for example, downloads file, you want to give him some other file to download? Yes, in SftpDownloadFile event you can change 'ResolvedPath' argument to something else. User will not know the difference - but wodSSHServer will send him different file.
Is there any filtering done beforehand? For example, when trying to get the file c:/ftp/ftpexternal/pub/PDSUpdate/Catalog.import I get the following:
unable to identify c:/ftp/ftpexternal/pub/PDSUpdate/Catalog.import: permission denied
I imagine this is due to the colon. Is there any way around this?
by Jasmine, (7786 days ago) @ Mike
Mike,
you should request files relative from user's HomeDir (I assume you talk here as relative paths as visible by the client).
by Mike
, (7786 days ago) @ Jasmine
Understood. Just trying to work around some legacy issues.

Thank you so much for your hard work and commitment in producing well thought-out solutions. WeOnlyDo is very committed to customer satisfaction!

WeOnlyDo!COM will be the first stop I make should I require any further off-the-shelf components.

We are having great success with your component ... email server that has over 750 000 mailboxes back ended by a SQL server...

We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.

You have been great as far as offering support is concerned and has been extremely responsive to both support requests and suggestions for product enhancements.

...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!

...what I really like is that wodSSH and wodSFTP components work excellently and are constantly being improved...

The SFTP ocx is one of the finest pieces of programming I have seen. It worked out of the box...

...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!

The SFTP ocx is one of the finest pieces of programming I have seen. It worked out of the box...

