Hi,

I've trouble putting a file on a GlobalScape Secure FTP server. 
Here is my debug output :

---- script ---------------------

open -u -----,----- ftps://a.b.c.d
debug 
debug -o dbg.log
lcd /ftp/productie/xxxxx/inbox
cd Test
put localtest.txt -o test.txt
bye

--- Debug ------------------------

---- Connecting to a.b.c.d (a.b.c.d) port 990
Certificate depth: <snip>l
WARNING: Certificate verification: unable to get local issuer certificate
WARNING: Certificate verification: certificate not trusted
WARNING: Certificate verification: unable to verify the first certificate
<--- 220 Welkom op de xxxx FTP Server.
---> FEAT
<--- 530 Please login with USER and PASS.
---> USER -----
<--- 331 Password required for -----.
---> PASS ----
<--- 230 Login OK. U kunt doorgaan.
---> FEAT
<--- 211-Features supported:
<---  COMB target;source_list
<---  REST STREAM
<---  SIZE
<---  MDTM
<---  XCRC filename;start;end
<---  SSCN
<---  MLST Size*;Modify;Create;Type*;Unique;Perm*;Lang;Media-Type;CharSet;
<--- 211 END
---> PWD
<--- 257 "/Incoming" is current folder.
---> PBSZ 0
<--- 200 PBSZ Command OK. Protection buffer size set to 0.
---> OPTS MLST Size;Modify;Type;Perm;
<--- 200 MLST OPTS Size;Modify;Type;Perm;
---> CWD /Incoming/Test
<--- 250 Folder changed to "/Incoming/Test".
---> PROT C
<--- 200 PROT Command OK. Using Clear data connection
---> TYPE I
<--- 200 Type set to I.
---> PASV
<--- 227 Entering Passive Mode (195,7,143,74,4,3).
---- Connecting data socket to (195.7.143.74) port 1027
---> STOR test.txt
<--- 150 Opening BINARY mode data connection for test.txt.
(195.7.143.74) port 1040
[4123] 195.7.143.74 ---> STOR test.txt
[4123] 195.7.143.74 <--- 150 Opening BINARY mode data connection for
test.txt.

After "the 150 Opening BINARY mode"  the connection hangs a long time and
times out.
I know that the FTP server doesn't accept a clear data connection (see the
PROT C).
How can I issue a "non" clear data connection ?

Thanks,

Diederick

---

Dit bericht (met inbegrip van attachments) is vertrouwelijk en uitsluitend bedoeld 
voor de (rechts)persoon aan welke het is gericht. Indien dit bericht niet voor u 
bestemd is, mag u de ontvangen informatie niet lezen, gebruiken, verspreiden of 
kopi�ren. Gelieve het bericht dan te retourneren aan de afzender en het bericht van uw 
systeem te verwijderen. Levob B.V. (met inbegrip van haar groepsmaatschappijen) is 
niet aansprakelijk voor foute of onvolledige overdracht van de informatie in dit 
bericht, voor vertraging in de ontvangst of voor schade aan uw systeem. Levob B.V. 
(met inbegrip van haar groepsmaatschappijen) garandeert niet dat de communicatie vrij 
is van virussen of andere onregelmatigheden. Verricht bij attachments altijd een 
virusscan alvorens ze te openen! 
Aan de informatie in dit bericht kunnen geen rechten worden ontleend.

Reply via email to