psftp

Unable to ignore errors using psftp

不打扰是莪最后的温柔 提交于 2020-01-14 03:43:21
问题 I wish to upload all files in C:\Users\myuser\Downloads\SFTP folder on my local Windows to a remote SFTP server's myfolder directory. Below is my command: C:\putty\psftp.exe -b C:\putty\sftp_commands.txt -l myuser -pw mypass 10.8.44.86 Here is my C:\putty\sftp_commands.txt file: mkdir myfolder cd myfolder lcd "C:\Users\myuser\Downloads\SFTP" mput "C:\Users\myuser\Downloads\SFTP\*.*" Running the command gives the below permission denied error: C:\Users\myuser\Desktop>C:\putty\psftp.exe -b C:

PuTTY PSFTP command line works as Admin, fails as User

半城伤御伤魂 提交于 2019-12-08 09:49:28
I have an interesting dilemma with PuTTY PSFTP. Set up... Pageant .60 putty .60 Used command: D:\psftp.exe -load myserver.domain.us.com -l User1 -b MyCommand Script This loads PuTTY PSFTP, logs in using the user ID with the help of Pageant and then sends a file using commands in the script. This works great while logged in as an Admin on the server. It fails while logged in as a regular user on the server: "psftp: no hostname specified;"blah blah blah. Including -v reveals no further messages. What possible delta could there be with permissions or other settings between a server Admin and

PuTTY PSFTP command line works as Admin, fails as User

我与影子孤独终老i 提交于 2019-12-08 06:24:13
问题 I have an interesting dilemma with PuTTY PSFTP. Set up... Pageant .60 putty .60 Used command: D:\psftp.exe -load myserver.domain.us.com -l User1 -b MyCommand Script This loads PuTTY PSFTP, logs in using the user ID with the help of Pageant and then sends a file using commands in the script. This works great while logged in as an Admin on the server. It fails while logged in as a regular user on the server: "psftp: no hostname specified;"blah blah blah. Including -v reveals no further messages

Batch file for PuTTY/PSFTP file transfer automation

二次信任 提交于 2019-11-27 21:25:13
I have a batch file for moving file from my local PC to server through SFTP. I have PuTTY installed in my system and the batch file code follows. cd C:\Program Files (x86)\PuTTY psftp open <IP> <user> <PW> cd /home/irisuser/iris/integration/dls_dlsblr_dlschnn_in_msg/in lcd d:\ put log.sh bye The above code perfectly works when I type it in command prompt. But when I double click the .bat file and run it, it's not running and asking for username and password to be entered. My aim was to automate the whole thing and I need to run it by simply clicking the .bat file. But am not able to achieve it

Batch file for PuTTY/PSFTP file transfer automation

南笙酒味 提交于 2019-11-27 04:30:31
问题 I have a batch file for moving file from my local PC to server through SFTP. I have PuTTY installed in my system and the batch file code follows. cd C:\Program Files (x86)\PuTTY psftp open <IP> <user> <PW> cd /home/irisuser/iris/integration/dls_dlsblr_dlschnn_in_msg/in lcd d:\ put log.sh bye The above code perfectly works when I type it in command prompt. But when I double click the .bat file and run it, it's not running and asking for username and password to be entered. My aim was to