Transfer a file to another server

Advertisement

Rafeea
Joined:
Posts:
2
Location:
Bahrain

Transfer a file to another server

Hello team,

I've got he below script which I am trying to execute from .BAT file.
C:
cd C:\Program Files (x86)\WinSCP
.\winscp test@10.10.10.10 /password=hello
put -delete "T:\IMEI-SFTP\Batelco\stcMEIBlock*.csv" /IMEIBLACKLIST/BATELCO/IN/
exit
When I double click on the .bat file, it logins to the destination successfully. However, it does not execute the put command automatically.

Can you please help if I am missing anything?

Rafeea

example.jpg

Reply with quote

Advertisement

Rafeea
Joined:
Posts:
2
Location:
Bahrain

Re: Transfer a file to another server

Hello Martin,

I've followed the instruction in the link and it works fine with me.

Really thanks a lot for your help :D

Reply with quote

Advertisement

You can post new topics in this forum