Thread: Noob Question
View Single Post
  #1  
Old 04-18-2005, 07:59 PM
vkbeaudreau's Avatar
vkbeaudreau vkbeaudreau is offline
Registered User
 
Join Date: Mar 2005
Posts: 3
Noob Question

Product in Question: Version 2.3.3 (build 217)

I am trying to write a file upload trigger that checks for a certain user id and, upon success, transfers that user's file to another secure ftp server. Actually I want it to activate on a file upload to a particular folder, but I thought this would be easier.

My batch file is very simple right now as I havent started checking for the username yet - im still trying to get the file transfer part working.

The command I have in my batch file is:
e:\pscp.exe -i e:\identity.ppk -pw password %1 user@server:
the batch file is called thus in the trigger command:
e:\sftp.bat %P

This works when I run it from the command line, but doesn't seem to work when used as a trigger. I don't see anything amiss in the VShell Log files or the Windows event log.

Any thoughts?

Kevin
__________________
Pancakes taste good, but their wily ways are not to be trusted.
Reply With Quote