Upload file from perticular local Directory
Hi Team,
I am new to WinSCP. I use following script and it works fine to upload test.txt file exists in "winscp554" directory. I want to upload file from local directory "D:\FTP\Upload" instead of "C:\winscp554". Would you please guide me in proper direction?
I am using WinSCP product version 5.5.4.0. Please let me know if you require more info. Thanks in Advance.
C:\winscp554>WinSCP.com /script=FTP_Upload.txt
--------------- FTP_Upload.txt -----------
option batch abort
option confirm off
open sftp://user:password@example.com/
put test.txt
exit
------------------------------------------
I am new to WinSCP. I use following script and it works fine to upload test.txt file exists in "winscp554" directory. I want to upload file from local directory "D:\FTP\Upload" instead of "C:\winscp554". Would you please guide me in proper direction?
I am using WinSCP product version 5.5.4.0. Please let me know if you require more info. Thanks in Advance.
C:\winscp554>WinSCP.com /script=FTP_Upload.txt
--------------- FTP_Upload.txt -----------
option batch abort
option confirm off
open sftp://user:password@example.com/
put test.txt
exit
------------------------------------------