DEV Community

loading...

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
catur_hida_yat profile image
Catur Meong Author

Okay, thanks for the feedback