Using osx curl and WING FTP Server

Please post here if you have problems in using Wing FTP Server.
Post Reply
j_schetterer
Posts: 2
Joined: Fri Mar 20, 2015 1:54 pm

Using osx curl and WING FTP Server

Post by j_schetterer »

Hi all,

I'm a new user.

Running into an issue with using curl -T and Windows Wing FTP Server. It is the latest version running on a 2008r2 box.

When using this command it connects to WingFTP but does not upload the file. it just hangs until it disconnects. This command works fine connecting to another box running a UNIX

curl -T /Volumes/poets/test/Error-POETS/sent/D-P_JERGEN-00001008.xml ftp://username:password@xxx.xxx.xxx.xxx ... 001008.xml" rel="nofollow" rel="nofollow

The log shows

[04] Fri, 20 Mar 2015 10:04:32 (0005974) 220 Wing FTP Server ready...
[03] Fri, 20 Mar 2015 10:04:33 (0005974) USER username
[04] Fri, 20 Mar 2015 10:04:33 (0005974) 331 Password required for username
[03] Fri, 20 Mar 2015 10:04:33 (0005974) PASS **********
[04] Fri, 20 Mar 2015 10:04:33 (0005974) 230 User username logged in.
[03] Fri, 20 Mar 2015 10:04:33 (0005974) PWD
[04] Fri, 20 Mar 2015 10:04:33 (0005974) 257 "/" is current directory.
[03] Fri, 20 Mar 2015 10:04:33 (0005974) EPSV
[04] Fri, 20 Mar 2015 10:04:33 (0005974) 229 Entering Extended Passive Mode (|||9211|)
[03] Fri, 20 Mar 2015 10:04:33 (0005974) TYPE I
[04] Fri, 20 Mar 2015 10:04:33 (0005974) 200 Type set to I
[03] Fri, 20 Mar 2015 10:04:33 (0005974) STOR D-P_JERGEN-00001008.xml
j_schetterer
Posts: 2
Joined: Fri Mar 20, 2015 1:54 pm

Re: Using osx curl and WING FTP Server

Post by j_schetterer »

Figured it out.

You have to use curl -T --disable-epsv
Post Reply