File Transfer
Moderator: DosItHelp
-
- Posts: 51
- Joined: 16 Nov 2014 20:28
File Transfer
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. please help me on this
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. please help me on this
Re: File Transfer
If you use a third party SFTP program that can be automated. I suggest you look at the Putty website.
Re: File Transfer
born2achieve wrote:I have two FTP servers namely SampleFTP1(public FTP) and SampleFTP2 (private FTP)
Both are SFTP enabled. I need to copy the text file from SampleFTP1 path C:/TestData/Test.txt
That is a Windows filesystem path - not an FTP server path.
Please explain the task accurately if you need help. See here: viewtopic.php?f=3&t=6108
-
- Posts: 17
- Joined: 04 Mar 2015 01:42
Re: File Transfer
Some months ago I used WinSCP (third party).
Try this:
winscp.com /console /command "option batch abort" "option confirm off" "option transfer binary" "open sftp://USER:PASSWORD@HOST" "put -delete ""C:/TestData/Test.txt"" ""/incoming/""" "exit"
Try this:
winscp.com /console /command "option batch abort" "option confirm off" "option transfer binary" "open sftp://USER:PASSWORD@HOST" "put -delete ""C:/TestData/Test.txt"" ""/incoming/""" "exit"
-
- Posts: 51
- Joined: 16 Nov 2014 20:28
Re: File Transfer
Hey Guys,
Hey Squashman and SilverHawk
thanks for your suggestion. I also browsed through winscp. Should i need to install this in my server? Because i shouldn't install the third party software on my server.
Hey Fox,
Basically i need to upload file from one FTP server to another FTP using SFTP. Once i uploaded the file, i need to move the uploaded file on server1's archive folder.
Any suggestion or sample please
Hey Squashman and SilverHawk
thanks for your suggestion. I also browsed through winscp. Should i need to install this in my server? Because i shouldn't install the third party software on my server.
Hey Fox,
Basically i need to upload file from one FTP server to another FTP using SFTP. Once i uploaded the file, i need to move the uploaded file on server1's archive folder.
Any suggestion or sample please
Re: File Transfer
Then you are out of luck. Windows does not have a native SFTP client to transfer files.born2achieve wrote: Because i shouldn't install the third party software on my server.
-
- Posts: 17
- Joined: 04 Mar 2015 01:42
Re: File Transfer
For me it was enough to copy:
in some folder.
Install it wasn't necessary.
SilverHawk
- WinSCP.com
WinSCP.exe
in some folder.
Install it wasn't necessary.
SilverHawk
Re: File Transfer
SilverHawk wrote:For me it was enough to copy:WinSCP.com
WinSCP.exe
in some folder.
Install it wasn't necessary.
SilverHawk
Yep. Same with PSFTP. It is a self contained executable just like Putty.
-
- Posts: 51
- Joined: 16 Nov 2014 20:28
Re: File Transfer
Perfect SiverHawk and Squashman,
I downlaod the exe from below path. Please advice me is that fine to move forward to test the code provided by SilverHawk.
http://winscp.net/download/winscp570.zip
I downlaod the exe from below path. Please advice me is that fine to move forward to test the code provided by SilverHawk.
http://winscp.net/download/winscp570.zip
-
- Posts: 17
- Joined: 04 Mar 2015 01:42
Re: File Transfer
I confirm that the ZIP linked is the correct one.
In my opinion, you can proceed.
SilverHawk
In my opinion, you can proceed.
SilverHawk