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: Permission denied (A)bort, (R)etry, (S)kip, Ski(p) all: Abort

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

To generate the session log file, use /log=C:\path\to\winscp.log 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.
jayaganesan

Command update

Batch file used as below
"E:\APOMS_BAT\MY\CA\autosys\ftp\WinSCP.com" ^
  /command ^
    "open sftp://avon_dc_new:gjr3wpwk/ -hostkey=""ssh-dss 1024 /A=""" ^
    "cd /Distribution/AXFILES/RX/" ^
    "mv SOD*.xml>0K<5N *.xmltmp" ^
    "lcd E:\Agility\RX" ^
    "option batch continue" ^
    "option confirm on" ^
    "get SOD_*.xmltmp SOD_*.xml" ^
    "exit"

How to solve this. Please help ASAP
jayaganesan

Permission denied (A)bort, (R)etry, (S)kip, Ski(p) all: Abort

I have the following error
Distribution/AXFILES/RX
Error moving file 'SOD_OPD05102634_20210322_670510.XML' to 'SOD_OPD05102634_20210322_670510.xmltmp'.
Permission denied.
Error code: 3
Error message from server (en): Permission denied
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort


I need SKIP so the process can be continue

Below is the my command
"E:\APOMS_BAT\MY\CA\autosys\ftp\WinSCP.com" ^
  /command ^
    "open sftp://avon_dc_new:gjr3wpwk@*****/ -hostkey=""ssh-dss 1024 /A=""" ^
    "cd /Distribution/AXFILES/RX/" ^
    "option batch continue" ^
    "option confirm on" ^
    "mv SOD*.xmltmp<1H *.xmltmptmp" ^
    "mv SOD_*.xmltmptmp /Distribution/AXFILES/RXFiles/" ^
    "exit"

What should I consider to change on the above script? Please HELP