cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Issue with install

From: Maxim Volkov <mvolkov_at_veoh.com>
Date: Thu, 09 Aug 2007 17:41:55 -0700

Hello Forum,

Here is the objective: File has to be posted to remote FTP server.

Command: curl --disable-epsv -T some_file.txt -u USER:PASSWORD
ftp://SOME.SERVER.com/SOME-DIRECTORY/

Result: File gets created on remote server but after 22080 of initial bites
the transfer stops. The time CURL

The verbose output reveals the following:
----------------------------------------------------------------------------
------------------------------------------------------

curl -v --disable-epsv -T some_file.txt -u USER:PASSWORD
ftp://SOME.SERVER.com/SOME-DIRECTORY/
* About to connect() to SOME.SERVER.com port 21
* Trying 999.999.999.999... connected
* Connected to SOME.SERVER.com (999.999.999.999) port 21
< 220---------- Welcome to Pure-FTPd [TLS] ----------
< 220-You are user number 1 of 50 allowed.
< 220-Local time is now 17:24. Server port: 21.
< 220-This is a private system - No anonymous login
< 220 You will be disconnected after 15 minutes of inactivity.
> USER USER
< 331 User USER OK. Password required
> PASS PASSWORD
< 230-User USER has group access to: USER
< 230 OK. Current restricted directory is /
> PWD
< 257 "/" is your current location
* Entry path is '/'
> CWD import-users
< 250 OK. Current directory is /SOME-DIRECTORY
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (999,999,999,999,171,160)
* Trying 999.999.999.999... connected
* Connecting to 999.999.999.999 (999.999.999.999) port 43936
> TYPE I
< 200 TYPE is now 8-bit binary
> STOR some_file.txt
< 150 Accepted data connection
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                                  Dload Upload Total
Spent Left Speed
  0 190M 0 0 0 22080 0 33 70d 05h 0:10:57 70d 05h
0

----------------------------------------------------------------------------
----------------------------------------

Notice : Time Spent ---> 70d 05h

What I tried:
-- transferred from firewall on a present network --> file was happily
transferred
-- transre from different server in a different network --> file was happily
transferred
-- multiple servers in present network --> always produce the same stale
result

Can you please point me into right direction?

Thank you for your help,

Maxim Volkov
Received on 2007-08-10