Page 1 of 1

%Dir give different results ftp / sftp

Posted: Wed Aug 27, 2014 8:00 am
by ntgdcis
Hi,
When configuring an "onfileuploaded" event for a client I found the %Dir variable returns the correct working directory for ftp sessions, but always returns "/" for sftp sessions. Is there any way of getting the directory path (but not filename) in an event related to an sftp session?

cheers,
Pete

Re: %Dir give different results ftp / sftp

Posted: Tue Sep 02, 2014 3:23 am
by FTP
Maybe you need this system variable: %LastDir