SFTP Upload forcing me to confirm transfer.

Advertisement

Krystal
Guest

SFTP Upload forcing me to confirm transfer.

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

<invalid hyperlink removed by admin>

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
Location:
Prague, Czechia

Re: SFTP Upload forcing me to confirm transfer.

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

Reply with quote

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 :) 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...

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
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

Reply with quote

Advertisement

You can post new topics in this forum