Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: script in batch

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Guest

Re: script in batch

martin wrote:

So are there any .txt files in the current local working directory?
Maybe you need to add lcd C:\local\source\path command.


yes there are many .txt files in the local source and I´m using these entire commands instructions:

lcd Y:" ^
"cd /remotehost" ^
"put *.txt" ^
but it seems no file is found maybe because I´m not using the correct mask (*.txt)?
thanks
martin

Re: script in batch

So are there any .txt files in the current local working directory?
Maybe you need to add lcd C:\local\source\path command.
arnoldo.contreras

script in batch

Hello
somebody can help me please? :)
I need to use some wildcarts that provide a copy of all the files with extention .txt
I had used this
"cd /remotehost" ^
"put *.txt" ^
but when the script ran appears the message
"No file matching '*.txt' found.
Im newly in this code and im trying to create a very simple script in batchmode