Topic "Download file o 2 files maximum with one batch file..."

Author Message
yaoztc
[View user's profile]

Joined: 2004-12-14
Posts: 2
Location: Mexico
Hi forum, From Mxico, specially to Prikril, 'cause i see he is the C Builder Master, i (try to ) programm in C Builder Version 5 , since last year , but i never will be like u dude... u r the BIGEST FTP MASTER !!!!

Well, to my problem.

I try to make a Stored_Session, but i don't know how i can download one or two files maximum, e.i.:

i only write this in my batch file:

Winscp3.exe comer (where "comer" is my stored_session)
and after ??? Crying or Very sad , what i must write to download and close the session ????

If u can post code to download the files, i 'll be so happy man.

THX a lot.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Please read about scripting
dl1eyg

Guest


prikryl wrote:
Please read about scripting

Hello prikryl,
I must transfering many files from Linux-Server to Windows-PC with SSH too. I try it with:
winscp3.exe root@elc /get /home/portal/backup/holen.txt /exit

WinSCP tried to load a stored session, but no files are transfered and a program not exit automatically.

what is there wrong?
thanks a lot
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
dl1eyg wrote:
Hello prikryl,
I must transfering many files from Linux-Server to Windows-PC with SSH too. I try it with:
winscp3.exe root@elc /get /home/portal/backup/holen.txt /exit

Have you read documentation? Anyway, I've added example script, to give you an idea.
_________________
Martin Prikryl
Guest




prikryl wrote:
Have you read documentation?


instead of "have you read a docu" can you write a simple of example:

winscp3.com /script=[scriptname]

and in file [scriptname]:

get /PATH/FILENAME
exit

this became already is enough !!!


Mad Mad Mad
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Anonymous wrote:
instead of "have you read a docu" can you write a simple of example:

winscp3.com /script=[scriptname]

I cannot, because the answer is not only for you, but for everyone interested. And the other may not be as lazy as you to look at the doc and learn more. Also, I cannot understand how you can blame me for doing more for your that you need. I have wrote entire new doc chapter just for YOU!
_________________
Martin Prikryl
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