File Transfer Help

Advertisement

born2achieve
Joined:
Posts:
1
Location:
Earth

File Transfer Help

hi,

I have two FTP servers namely SampleFTP1(public FTP) and SampleFTP2 (private FTP)

Both are SFTP enabled. Lets take an example, I need to copy the text file from SampleFTP1 path C:/TestData/Test.txt and wanted to transfer to SampleFTP2 path /InputFile/Test.txt. Right now i am suing filezilla to do this as manual process. Is there any where i can automate this process by using batch script. Any example will be very helpful for me to proceed.

I have all the working credentials. unfortunately i cannot install any software for this. Can this winSCP used without installing it on the server? also any working sample please

thakns

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,469
Location:
Prague, Czechia

Re: File Transfer Help

The SFTP protocol does not allow direct server-to-server transfers. You have to download from server 1 to local machine and upload them to server 2.

For instruction to WinSCP scripting, see:
https://winscp.net/eng/docs/guide_automation
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum