This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Fxp with tclib

Old posts that have not been replied to for several years.
Locked
d
darkrad
Voice
Posts: 16
Joined: Wed Sep 10, 2003 6:33 pm

Fxp with tclib

Post by darkrad »

Hello, i wonder if there is a way to fxp using ftp package of tclib. I want to transfer one file from a ftp location A to another ftp location B.
I saw post to transfer file from local to remote, but from remote to remote?
Anybody has a clue? Thanks in advance
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

theoretically it might be possible to make A connect to B, if you set A to active and B to passive. however, you would need to modify the default progress of these FTP transactions which are most likely not supported by any FTP lib. However FTP is a simply clear text protocol which can easily be used over a normal TCP connection (socket or connect). I think I read something like it was possible to make the FTP connect to another client, maybe a search will reveal even some code examples.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
d
darkrad
Voice
Posts: 16
Joined: Wed Sep 10, 2003 6:33 pm

Post by darkrad »

well, i'm writing here since i didn't find any code example..
Locked