Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

jsweatte

Thanks for the quick response

I'll forward it to the faculty memeber.

Thanks Again.
martin

Re: client scripting

Attempt to translate your pseudo-code into WinSCP script:

winscp /console /script=script.ftp /log=c:\webstuff\upload\logs

open xxxxx:mybigsecret@core.xxx.edu

cd core1
cd docs
cd csci/xxxxx
cd apps
lcd c:\webstuff\apps
option include *.gif
synchronize remote
jsweatte

client scripting

I've been asked to help a faculty member find a solution to the attached question. I'm not at all familiar with what he's trying to do but in doing some prelimiary research I believe WinSCP is a possible solution. Can someone confirm that based on his question, which follows?

Thanks to all.

want a client - let's call it xxFtp which can be run like:

xxFtp -c script.ftp

where script.ftp is some text file with ftp commands in it maybe like (I am making this up):

errlog c:\webstuff\upload\logs
user xxxxx
password mybigsecret
connect core.xxx.edu
cd core1
cd docs
cd csci/xxxxx
cd apps
local cd c:\webstuff\apps
for each fle in *.gif
x = remotetime $fle
if x < time $fle
then put $fle
end for

etc.etc.

Kind of like a mini-bash for managing an ftp connection.