Topic "Stuck on host"

Author Message
Yizi
[View user's profile]

Joined: 2013-10-04
Posts: 2
Hi there,

Trying to upload few files with .csv extension and when I run the bat file it gets stuck on the cmd screen saying
Code:
Host:


Can anyone help me, here is my code:

Code:
option batch on
option confirm off
open user:password@domain.com
option transfer binary
cd /Imports
put "C:\location\*.csv"
close
exit


Code:
@echo off
c:
cd\
cd program files (x86)\WinSCP
winscp.exe /console /uploadftp.txt
Exit
Yizi
[View user's profile]

Joined: 2013-10-04
Posts: 2
Solved, missed the script=

Code:
winscp.exe /console /script=uploadftp.txt
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