cURL / Mailing Lists / curl-users / Single Mail

curl-users

Uploading multiple files

From: <uria_at_uriaa.com>
Date: Sun, 26 Jun 2005 11:04:47 -0400

Hello,

Perhaps somebody can shed light on this simple issue:

I'm trying to run the command below in order to upload all files in a
directory to an FTP server:

curl -u user:pass ftp://MyDomain.com/ -T E:\*.txt

However, I keep getting this (only first is file uploaded):

  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
  0 3 0 0 0 3 0 9 --:--:-- --:--:-- --:--:--
0
curl: (6) Could not resolve host: E:\test2.txt; Host not found
curl: (6) Could not resolve host: E:\test4.txt; Host not found
curl: (6) Could not resolve host: E:\test8.txt; Host not found

I just can't figure out what I'm doing wrong.

My environment is WinXP. The remote FTP server is Win2000

Thanks!
Received on 2005-06-26