cURL recursive FTP upload
Hi,
I work on two hosts, [1] with online ftp access, and [2] without ncftp installed, but with ssh access. Now I need to recursively upload a folder from [2] to [1]. So I can't use hardfeed - which is for downloading I think I can use a find ./orig -exec curl ftp://pinshosting.net But I'm not so so known with the params of find and curl to get it working recursively. Any hints? |
Quote:
|
YES! That was exactly my question; how to do that....
|
Quote:
Have you read 'find' manpage ? |
so i made a bash script:
Code:
#!/bin/bash Code:
find . -type d -exec ./recursive-ftp.sh {} \; |
All times are GMT -5. The time now is 06:46 PM. |