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

martin

Re: WINSCP Script local to local

WinSCP neumi kopirovat mezi dvema lokalnimi disky (jestli dobre chapu dotaz).
Micoj

WINSCP Script local to local

Dobry den,

Zapasim s jednym problemom. Viem ako kopirovat lokalne data na FTP, ale stale nemozem prist na to ako sa kopiruju data z jednej lokalnej particie na druhu. Chcel som Vas poprosit o radu ako na to ?

Bezny batch pouziva nalsedovny syntax ( takto mi to funguje ), ale ja by som to rad robil pomocou batch scriptu a WIN SCP programu ( je to rychlejsie a zapisuje mi to log atd. Proste sa mi to paci viacej. )

XCOPY "e:\batch\input\*.*" "f:\batch\output\" /E /Y

[ pouzivam nasledovny tvar pre = script.txt ]

option batch abort
option confirm off
open ftp://meno:heslo@server
put e:\batch\input\* /upload/update/1507/
exit

[ pouzivam nasledovny tvar pre = copy.bat ]

@echo off
"C:\Program Files (x86)\WinSCP\winscp.com" /script="script.txt" /log="session.log"
Exit

{ OTAZKA }

Ako mam upravit ten *.txt subor aby sa neotvarala session ftp pripojenia ale iba dir na inom disku ?

option batch abort
option confirm off

???

put e:\batch\input\* /upload/update/1507/
exit