![]() It is possible to run the batch file without opening a command line window. If you provide some clarification on my questions, it would really make me understand the whole process. Download the portable version of WinSCP and extract it to the hard drive. In my code, in the ftp.txt, do i have to add the port(22) also to the server at the end.? The other important thing is the username and password that i am using are not mine, my team member provided his details for me to complete this task. Is the get command correct? if yest then i will try to install winscp and then i will try to run it and see how it goes. To execute the script file use the following command. The purpose is i am trying to download a file from the ftp server into my dest path. Download and install WinSCP, alternatively, you can download. Snoopy, since you checked my code in %sysexec, do you think the sytax is correct. Check the IP address with ifconfig command 8. If only one parameter is specified, downloads the file to local working directory. Sftp prompted me to enter the password and i entered the passwordīut it says Permission denied along with a popup mesaage which says "SSH error occured, please contact administrator". Downloads one or more files from remote directory to local directory. So Ive opened the cmd prompt, and enter commands as follows. ![]() The other thing is like you said i am trying to login to the sftp server from CMD in the following way. Im trying to run this file via command prompt. So, I think i can't download the file from the ftp server. I just realized that i do not have winscp installed in my system.
0 Comments
Leave a Reply. |