FTP-Upload failed via command line on Windows 10

Advertisement

chmod
Joined:
Posts:
1

FTP-Upload failed via command line on Windows 10

Hello,

this command in a batch file works fine under Windows XP and 7, but not unter W10:

"WinSCP\WinSCP.com" ^
  /log="D:\logfile.log" /ini=nul ^
  /command ^
    "open ftp://user:password@xxx.xxx.xxx.xxx/" ^
    "put -neweronly D:\files\*.* /" ^
    "exit"

Is there a chance to make it run on a Windows 10 system?
Thank you for an info.

Best regards
chmod

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: FTP-Upload failed via command line on Windows 10

A batch file syntax and WinSCP command-line syntax is the same on all recent versions of Windows.

If your batch file does not work on Windows 10, it must be due to external causes, like environment variables, Windows registry, permissions or network.

If you need more help, we need more information. Full session log files from both Windows 7 and Windows 10 would be the best.

Reply with quote

Advertisement

You can post new topics in this forum