Robo Copy to a FTP server

chuck DM 81 Reputation points
2020-10-05T20:34:43.867+00:00

I am trying to send one big file from a windows server to the FPT location through robo copy. I am using the following command:-

ROBOCOPY "G:\Backup\full" "\ftp.xyz.com\backup" ABC.bak /Z /R:5 /W:60 /LOG:"G:\Backup\full\robocopy.log"

But I am getting the following error msg:-
Error 53 (0x00000035) Getting File System Type of Destination \ftp.xyz.com\backup
The network path was not found.

But I log into the ftp server ftp.xyz.com through file explorer.

Any idea why I am getting error msg?
Thanks

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,828 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,708 questions
{count} votes

Accepted answer
  1. Jeffrey Williams 1,886 Reputation points
    2020-10-06T21:22:24.367+00:00

    You cannot directly copy files to an FTP site - you need to use an FTP client to connect to the site and use FTP commands (e.g. PUT, GET, etc...). When you connect using IE (or any browser) you are accessing the web portal of the FTP site and that is going to upload/download the files using the FTP protocol.

    There are many clients available - and most have a command-line or .NET library available.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. m 4,271 Reputation points
    2020-10-06T03:16:05.267+00:00

    Hi @chuck DM ,

    ...Any idea why I am getting error msg?

    Please reference the replies from these cases: robocopy-suddenly-stopped-working , robocopy
    I have already changed the tag and you can also post in this forum: windows-server

    BR,
    Mia


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments