cURL / Mailing Lists / curl-users / Single Mail

curl-users

cURL FTP upload through firewall

From: Sebastian Gibbs <Sebastian.Gibbs_at_KLEENEZE.co.uk>
Date: Mon, 19 Nov 2001 14:30:24 -0000

Basically having problems FTPing through a firewall. I think it's because
it's attempting to communicate through an additional port other than port
21. I don't quite understand the -P switch, do I give the IP of the
internet gateway. I've tried different switch variations/parameters without
success.

Trying to upload a file..

        curl --v -T c:\test.txt
ftp://username:password@upload.internetsite.com/afolder/

Produces...

        < 220 ispdetails Microsoft FTP Service (Version 4.0).
> User username
        ..then hangs

(I can access the FTP area using IE.)

Regards,

Seb.
Received on 2001-11-19