Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:26 AM.