Post a reply

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

smittylube

this sounds maybe like what I'm trying to do with these files -- [ 'f:/cam images/' [ '/home/sslube2/public_html/cam images/' ] ] in both locations only one jpg file exists.

https://winscp.net/forum/viewtopic.php?t=8999
Guest

Thanks.
martin

What you are doing is not scripting. Anyway use /defaults parameter.
Guest

Re: Simple automatic script to upload modified files

I need to write the same script, I'm working in WinXP sp3 with WinSCP 4.2.7

I created a batch file with a commandline in the form:

%fullprogrampath% /WinSCP.exe {User}:{Pass}@{Host} /keepuptodate %fulllocalpath% %fullremotepath%

But the program ends up opening a confirmation/select options window. I tried to add the command

/options confirm off

before the keepuptodate command but with no result, also I rummaged with the option window and unchecked all the options that sounded like "confirm when", but with no result.

Thanks.
martin

Re: Simple automatic script to upload modified files

Please read documentation. If that does not help, come back.
ezekiel

Simple automatic script to upload modified files

First like to say this is an amazing program.

Secondly, I know next to nothing about commands or scripting. I would, however, like to be able to upload a few small files on a regular basis to my ISPs free webspace. I know how to send the files using the programs GUI but I need to send these files about ever 30 min and doing it manually is not an option really.

So, I would like to send a the contents of a folder, to my webspace (and overwrite the files there, they have same filenames), every 30 minutes, without have to do 'anything' (completely automated). Is this possible? The file sizes are very small (367kb for all 11 files) so I don't think that should be a problem.

Could someone kindly write me a simple script as I've read though this site and I don't don't have to know how to put one together myself. Then I assume I can use Windows Scheduler to run the script ever 30 minutes?

Thank you in advance for any help and again, I'm very grateful for this program.