Topic "SFTP Upload forcing me to confirm transfer."

Author Message
Krystal

Guest


I've written several scripts to upload files to remote sftp servers for various customers but my newest one is forcing me to confirm the upload with a y/n when none of my others are.. Not a hard script as seen below so am wondering is this forcing me to confirm and have to touch the upload manually coming from their side or is this something i can suppress on my side? Very annoying ;P



[/code]
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
The prompt does not come from WinSCP.
Though it is strange that there's no line feed after the transfer progress from WinSCP. Have the script finished correctly?
_________________
Martin Prikryl
Krystal

Guest


here is my script.. pretty simple and works for the rest of the people i do SFTP too not sure why it is not putting in a line feed..

option batch on
option confirm off
open 31Edmond
put C:\Facilities\31_Edmond_Baptist\Reports\*.* /inbound/prod/emond/
exit


see Smile simple.. launching from a batch file that looks like this

@echo off

winscp.com /command /script="C:\Facilities\31_Reports\Scripts\reports.txt"

exit

I don't see anything wrong to be honest...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Please insert any command that prints anything after the put (before exit). Like "option batch".
Also put echo command after winscp.com in your batch file.
And post a screenshot again. Thanks.
_________________
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