Sorry to waste your time, I actually just figured out what I did wrong and got it working. You can disregard my question.
My username is actutally "osaacox". I just realized that I was not logged in.
Hello,
I setup a batch file and a txt file with the script in an attempt to automate the process of syncing files. When I run the batch file, nothing happens. I think that there may be a problem with the authentication but not sure. I am using WinSCP version 5.13.3 on Windows server 2012.
Here is my script from the batch file -
cd C:\Jenzabar Import_Export
winscp.com /script.txt
Here is the script from "script.txt" with out the actual host key
open sftp://ftpmcph:exampl@example/ -hostkey="ssh-rsa 2048 example"
option batch abort
option confirm off
# Execute the script using a command like:
put C:\Jenzabar Import_Export\Export\"" /StarRez/Export/Test
exit
That is my first sript.
I have another script that doesn't seem to work either -
open sftp://ftpmcph:example/ -hostkey="example"
option batch abort
option batch off
# Execute the script using a command like:
syncronize remote C:\Jenzabar Import_Export\Export\"" /StarRez/Import/Test
exit
Thank you[/quote]
Hello,
I setup a batch file and a txt file with the script in an attempt to automate the process of syncing files. When I run the batch file, nothing happens. I think that there may be a problem with the authentication but not sure. I am using WinSCP version 5.13.3 on Windows server 2012.
Here is my script from the batch file -
cd C:\Jenzabar Import_Export
winscp.com /script.txt
Here is the script from "script.txt" with out the actual host key
open sftp://ftpmcph:exampl@example/ -hostkey="ssh-rsa 2048 example"
option batch abort
option confirm off
# Execute the script using a command like:
put C:\Jenzabar Import_Export\Export\"" /StarRez/Export/Test
exit
That is my first sript.
I have another script that doesn't seem to work either -
open sftp://ftpmcph:example/ -hostkey="example"
option batch abort
option batch off
# Execute the script using a command like:
syncronize remote C:\Jenzabar Import_Export\Export\"" /StarRez/Import/Test
exit
Thank you