Upload sub-folders to FTP in Windows command line

Issue

I have to upload an entire folder commandline on Windows. I can’t get it to upload the subdirectories including it’s files.

ftp
open snuzzer.dk
username
password
mput *.*

This only uploads all files in the root.

Can anyone help me?

Solution

one way would be to use ncftpput with the -R option.

Answered By – jcomeau_ictx

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published