Mail on file downlaod

Please post here if you have problems in using Wing FTP Server.
Post Reply
as.info
Posts: 13
Joined: Wed Mar 25, 2015 1:55 pm

Mail on file downlaod

Post by as.info »

Hi

I want to receive a mail when a user download a file
I activate the hhtp onfiledownloaded and do this
%Name a file has been downlaoded on the folder %PathName
the problem is that %pathname give all the path (/ftpdata/folder/subfolder/namefile.doc
I want to known how I can have only have "folder" and "namefile.doc" (best thing!)
or at least /folder/subfolder/namefile.doc

I try with %Dir variable but in the mail I've that

the file "filename.doc" in the folder "/" has been downloaded



Thanks

Thomas
as.info
Posts: 13
Joined: Wed Mar 25, 2015 1:55 pm

Re: Mail on file downlaod

Post by as.info »

HI

I think I fix the problem with using virtual folder

thanks

Thomas
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Mail on file downlaod

Post by FTP »

That's great! And thanks for your info.
Post Reply