zFTPServer Forum Forum Index zFTPServer Forum
FREE Community Support for zFTPServer
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AllWaySync support

 
Post new topic   Reply to topic    zFTPServer Forum Forum Index -> Support
View previous topic :: View next topic  
Author Message
Habitats



Joined: 13 Jun 2009
Posts: 22

PostPosted: 27 Jan 2010, 16:08    Post subject: AllWaySync support Reply with quote

Hello

I'm trying to connect to a zFTP-server through a synchronization program called AllWaySync.

Or well, the problem isn't actually connecting, but uploading files. Folders can be created on the server, but no files will upload. And yes, the user got admin rights, and all that.

I can use the same account I'm using for upload and successfully upload/download files when using flashFXP as client.


I tried contacting AllWaySync, but their support is more or less dead.

I think the errors I'm getting are general FTP/API errors, but tbh. I don't know that much about this stuff.

I'm getting these errors when I'm trying to transfer files:

Code:
I think the errors I'm getting are general FTP related errors, I'll post them here:
- API call error, Unspecified error(80004005), filename: ftp:/xxx.xxx.xxx, ftp::findfirstitem
- API call error, Unspecified error(80004005), filename: ftp://xxx.xxx.xxx/_backup/Backup200907131731_OnShutdown.MBK, ftp::CreateCollection
- API call error, 200 Type set to I. 504 Data port can only be used by the same IP address used by the control connection. , filename: Error while copying "D:\# FELLES\mamut\Data\Backup\m_Backup.Zip" to "ftp://xxx.xxx.xxx/_backup/m_Backup.Zip", UploadFileSafely::copyfile_failed1

For passive mode I'm getting these errors:
Code:

- API call error, 200 Type set to I. 227 Entering Passive Mode (192,168,0,193,5,212). , filename: Error while copying "D:\# FELLES\mamut\Data\Backup\m_Backup.Zip" to "ftp://xxx.xxx.xxx/_backup/m_Backup.Zip", UploadFileSafely::copyfile_failed1
- API call error, 200 Type set to I. 227 Entering Passive Mode (192,168,0,193,5,212). , filename:ftp://xxx.xxx.xxx/_backup/Upgrade5186, ftp::CreateCollection



Any clue?

edit:
Oh yeah, the server is accepting all other connections and is fully functional on a daily base.
Back to top
View user's profile Send private message
Nicklas
Site Admin


Joined: 16 Mar 2005
Posts: 1601
Location: Sweden

PostPosted: 29 Jan 2010, 18:07    Post subject: Reply with quote

Could you please post server logs from an AllWaySync try?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Habitats



Joined: 13 Jun 2009
Posts: 22

PostPosted: 11 Feb 2010, 14:24    Post subject: Reply with quote

Sorry for the late reply.

You mean log from the zFTP log?

I finally got some response from AllWaySync, and they redirected me to this thread and told me the problem was my network configuration.

I fail to see how it can be my network as everyone else can connect without any problems.
Back to top
View user's profile Send private message
Habitats



Joined: 13 Jun 2009
Posts: 22

PostPosted: 02 Mar 2010, 19:07    Post subject: Reply with quote

Bump...
Back to top
View user's profile Send private message
boco



Joined: 26 Jul 2006
Posts: 570
Location: Germany

PostPosted: 03 Mar 2010, 05:01    Post subject: Reply with quote

Quote:
227 Entering Passive Mode (192,168,0,193,5,212)
Are you trying to connect/transfer to a LAN-only server (or in LAN only)? The IP returned on PASV is a private one, it is not routable over the internet. zFTPServer has to know which is your external IP, because it needs to return it in the PASV reply.

The port used is 1492 (5*256+212). Is this port in the Passive port range you defined, opened and forwarded?

Ah, yes, please note that directory creation and deletion, renaming and deletion of files will work because they don't need a secondary connection. Essentially only actual transfers will require it (getting a listing is actually a transfer, too).
_________________
Rank: Bughunter
Back to top
View user's profile Send private message
Habitats



Joined: 13 Jun 2009
Posts: 22

PostPosted: 10 Mar 2010, 11:51    Post subject: Reply with quote

I'm connecting to an external server. I tried connecting to the same server through FlashFXP from the same location, and everything worked then.

And yes, the ports are working fine.

I have no idea why it is connecting with the LAN IP, but obviously the IP is right as the directories are being created.

I really don't know what more to say about it, is there any other information that I can provide?
Back to top
View user's profile Send private message
boco



Joined: 26 Jul 2006
Posts: 570
Location: Germany

PostPosted: 10 Mar 2010, 22:50    Post subject: Reply with quote

There seems to be a firewall tampering with your FTP...
_________________
Rank: Bughunter
Back to top
View user's profile Send private message
Habitats



Joined: 13 Jun 2009
Posts: 22

PostPosted: 13 Mar 2010, 03:49    Post subject: Reply with quote

How is that possible, I don't even have a firewall.
Back to top
View user's profile Send private message
boco



Joined: 26 Jul 2006
Posts: 570
Location: Germany

PostPosted: 13 Mar 2010, 05:05    Post subject: Reply with quote

Everything that monitors/shapes traffic acts like a firewall. In you case, there seems to be something exchanging your IPs. 192.168.0.193 is a LAN IP, there's no way it will work with either FTP client over the internet unless there's something silently inserting the external IP and vice versa. As you already experienced, that mechanism can fail.

Things that can act like a firewall:
    -Personal firewalls (software firewalls)
    -Routers (hardware firewalls)
    .Antivirus scanners
    -Internet security software
    -Traffic shapers and monitors
    -Internet service providers
    -Proxies

_________________
Rank: Bughunter
Back to top
View user's profile Send private message
Habitats



Joined: 13 Jun 2009
Posts: 22

PostPosted: 13 Mar 2010, 18:10    Post subject: Reply with quote

I still don't get how my server can work perfectly fine for everyone through every other client...

I could create a user for you on my FTP and you could check for yourself if you want. That might help you resolving it. I tried to PM you, but it seems to be disabled.

For the firewalls, all I got it my router I guess I could try putting my server in DMZ and see if that'll change anything, but I doubt it.

edit: Tried DMZ, changed nothing.
Back to top
View user's profile Send private message
Habitats



Joined: 13 Jun 2009
Posts: 22

PostPosted: 22 Mar 2010, 22:57    Post subject: Reply with quote

Sad?
Back to top
View user's profile Send private message
boco



Joined: 26 Jul 2006
Posts: 570
Location: Germany

PostPosted: 23 Mar 2010, 03:08    Post subject: Reply with quote

Could you try with a non-default listening port, like 2100? Malicious routers/firewalls usually work their "magic" (yucks!) only on port 21.

Blech, that spam in these forums sucks.
_________________
Rank: Bughunter
Back to top
View user's profile Send private message
Habitats



Joined: 13 Jun 2009
Posts: 22

PostPosted: 30 Mar 2010, 18:24    Post subject: Reply with quote

Already using 1337 for the port... :/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    zFTPServer Forum Forum Index -> Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group