English
Forum

Problems with passive FTP-Upload

 

Christian
Zietz
Hi,

following Posting standing already in the Forum on XProfan.de. Sorry for the Crosspost but I would already gladly know, whether it for the beschriebene trouble one Workaround gives. otherwise must I the whole well in Delphi implementieren.

--- Ursprünglicher Posting
I have Problems with the Upload of Files over passives FTP (is unfortunately on one computer necessary, on the the program later walk should) with XProfan 9.1.

If I @FTP(SetPassive,1) directly to the @FTP(Upload,...) ausführe, becomes not at all into passiven mode geschaltet, set I it to the @FTP(Connect,...) then supply @FTP(Upload,...) immediate success back, The File but nevertheless not transfer.

let I @FTP(SetPassive,1) lane, then functions everything, but hold not behind the Firewall, The passives FTP voraussetzt.

appendix: Downloads funktioneren too with passive FTP, the trouble concerns evident only Uploads.
--- end ursprünglicher Posting

is the trouble famous, make I only what wrong or is the one yet unerkannter bow? Can there what against it do or is passiver FTP-Upload with XProfan presently you don't say so?

Christian
 
01/23/06  
 



Rolands FTP-functions walk in a own Thread.

therefore can it often vorkommen the The FTP-functions already to termination of/ one task whom success report.

Überprüfe time simply whether the Upload not Perhaps still in the background stattfindet.

After ftp(upload

use following Loop to determine when the Upload objectively exits is:
CompileMarkSeparation
settimer 1000

whilenot (FTP("ListDir","tmpdir.dat"))

    waitinput

wend

killt
a>
FTP-ListDir gives first then True back - if the Thread not any more of Upload blockiert is.

Diesen Workaround I had me anyway then as funktionierend wrote there positively ertestet.
 
01/23/06  
 




Christian
Zietz
thanks for response, but unfortunately works the passive Upload too lest. somehow remaining my Program in the from you geposteten Whilenot-Loop hang.
 
01/23/06  
 



I see - this is Yes at least no schlechtes characters.

D.h. the XProfan it already attempts upzuloaden - but the process somewhere gestoppt becomes.

circa what kind of Firewall deals it itself?
is one Proxy in the game?
sits You behind one Server which z.B. by ICS the internet sponsert?
 
01/23/06  
 




Christian
Zietz
The problem exit on, if I directly (d.h. without Firewall, Proxy or NAT) with the network joined be.
in the Übrigen would like I a problem with the Internetverbindung exclude. usually sit I of course behind one Router with NAT but the power with a right FTP-Prgramm weder with aktivem yet with passive FTP Problems. and aktives FTP works with XProfan indeed. this is for Router plenty heikler as passives FTP. only should the program hold later on one computer walk, on the only passives FTP possible is.

I have now time whom Netzwerkverkehr with ethereal mitgeschnitten. My XProfan-Program building to the PASV-commands of course a ausgehende link to the of Server mitgeteilten address on, The hochzuladende File but not transfer, too then not, if I instead of your Loop one simples and enough langes Sleep einfüge. there's somewhere in XProfan the worm drin.
 
01/23/06  
 



Owei.

have You yourself already once with the FTP-Api probiert?

I have one FTP-Unit began - The is not yet ready.

You could it then with this try.
 
01/23/06  
 




Christian
Zietz
I have in the meantime something experimentiert. If I your Sourcecode How follows abändere, works everything. the Program depends nirgendwo and sowohl passiver as well as active FTP-Upload functions. Why too always.
CompileMarkSeparation
SetTimer 1000

While 1

    WaitInput
    case @FTP("ListDir","tmpdir.dat")=1 : Break

Wend

Kill
/a>
 
01/24/06  
 



Hm your Source power the same - except for the ftplistdir a second later as by me to that first Male abefragt becomes. I look here strain time in my source - objectively - I give sorgar 1,5 sec to the Loop Time.

well, then functions it means.
 
01/24/06  
 



Hello IF
If you the FTP-Unit ready have, would You me then too message say
greeting
horst
 
01/27/06  
 



I give here message - How always.
 
01/27/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.790 Views

Untitledvor 0 min.
Alibre04/30/18
Michael Uckermann04/13/14
Heiko Dix12/05/13
Uwe Lang05/30/13
More...

Themeninformationen

this Topic has 3 subscriber:

iF (5x)
Christian Zietz (4x)
unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie