I’ve googled but I could only find how to upload one file… and I’m trying to upload all files from local directory to remote ftp directory. Any ideas how to achieve this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
with the loop?
edit: in universal case uploading only files would look like this:
Obviously, you need to look out for name collisions if you’re just preserving file names like this.