Topic "WINSCP Script local to local"

Author Message
Micoj

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
WinSCP neumi kopirovat mezi dvema lokalnimi disky (jestli dobre chapu dotaz).
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License