WINSCP Script local to local

Advertisement

Micoj
Guest

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum