Link to home
Start Free TrialLog in
Avatar of Chris Jones
Chris JonesFlag for United States of America

asked on

help with PSFTP

hello i have a PSFTP script and i need to run it form a bach file how can i do this ?
Avatar of Bill Prew
Bill Prew

In the BAT file, do a line like this (assuming PSFTP.EXE is in your PATH):

psftp user@hostname -b myscript.scr

~bp
Avatar of Chris Jones

ASKER

how do i put a file in juyst put the echo command in teh bacth that i call ?
I don't understand your question.

It sounded like you already had an PSFTP script file that you use with that program now, is that correct?  Of do you need to create the PSFTP command file as well?

I'm not sure what you meant by "put a file in"?

~bp
i have this in a bact file will this work

put "\\ctis\dfsroot\EnrollmentReports\symplicity\student.csv" >> psftp.bat
then i have a script with this

psftp commercetamudrop@commerce-tamu-advocate.symplicity.com -pw ********** -b psftp.bat
any ideal ?
I've requested that this question be deleted for the following reason:

no answers
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank you this worked great
Great, glad that helped, thanks for the feedback.

~bp