DEV Community

Discussion on: FTP - Upload files without folder structure

Collapse
 
moopet profile image
Ben Sinclair • Edited

Something like for f in $(find . -type f); do curl -T $f ftp://ftp.my-site.example/com/my-path/ --user jeff:jeffspassword; done would probably do what you want if you absolutely must, but like Dian says... don't.

Collapse
 
brokylabs profile image
Catur Hidayat

Okay, thanks for the feedback