Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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: windows task scheduler action ->argument issue

Maybe you have this "problem":
https://winscp.net/eng/docs/faq_uploaded_file_missing

If not, 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.
bquac23

windows task scheduler action ->argument issue

Thanks for the input. After numerous attemmpts, i've gotten it down to one last issue. When i try to send the file, all the logs says that it was sent successfully but nothing appears on the ftp server. if i rename the file by renaming the file by adding a character, the file sends correctly. This also holds true if i remove a character while i rename. But i just can't ftp the file as is.

My current task scheduler command is the following:

/log=C:\PROGRA~1\destination path /command "open ftp://serverlogininfo" "put -latest C:\PROGRA~1\destination path\* /ftp/path/" "exit"

Please Advise
martin

Re: windows task scheduler action ->argument issue

The log file says Obsverations, not Observations.
bquac23

windows task scheduler action ->argument issue

I am currently trying to automate a process of ftp-ing a file from my computer to a ftp server using windows task scheduler, WinSCP and adding in the commands in the argument section of "actions". The parameters I passed to Task Scheduler were as follows:

/log=c:\Users\xxxx\Desktop\linden\linden.log /command "open ftp://user:pass@ftpserver.com/" "put C:\test.txt /Observations/folder/" "exit"

It looks like the command executed fine and in the log i see that everything ran successfully. I attached the portion of the log for reference. But when i actually went into the folder to check the file is missing/not there.

Please advise!