Strange problems with ftp

linux

    Next

  • 1. Autofs problem
    Hello, I've installed one Red Hat Linux 9 system in my existing netowrk. Everything goes fine. I configured Autofs 4.1.4, the latest one. In my /etc/auto.master added one entry "/hosts /etc/auto.net" I'm able to access any Linux machine from this machine. But I cannot access any other system i.e. Sun System, Hp-UX System, SGI system. I can access this systems home from any other system. What could be wrong? Few days back I did the same thing with some other red hat linux 9 system & it worked fine. But this system is giving me this problem. Could any one of you give me some guide lines. It will be great for me. Thanks, Pranay
  • 2. named ownership problem
    Hi, I have a very strange problem on my Fedora Core 4.0 installation. Occasionally when named is restarted it changes the ownership and group on files through out the directory tree such as /., /.., /usr/bin/login, /var/log/messages etc. I have looked at the /etc/init.d/named file but all its chown commands are qualified by the --from parameter which should stop any misbehaviour. Has anyone else experienced this problem? The named uses a chroot which I thought might have a stray symlink but I cannot find anything. Any suggestions are very welcome, if you would like any files I am happy to supply them - although currently I don't know where to look. Tom
  • 3. "Router" in Linux.
    I'm thinking of making a router out of an old linux box and a few cards. The big thing is, I don't want to use crossover cable. How do I set up Linux (and my cards) to accept backward connections? tia, poly-p man I know how to route traffic, just not how to do this.
  • 4. xorgconfig in fedora 4
    Friends. I use xorgconfig to configure X in my suse9.3 box. Today i installed fedora core 4. If X started, i cant use my consoles in Alt+F1 to F6. The screen goes blur. I cant see the login screen. But in Alt F7, X works well. So, i have to configure X by xorgconfig. I searched for that tool, but not found. Please tell me where is it? Thanks. dear, T.Shrinivasan.

Strange problems with ftp

Postby Lampa Dario » Fri, 28 Apr 2006 21:01:09 GMT

Something strange happens...

I have found a strange behaviour of Linux when sending a file via FTP. I
am managing a web site, hosted on a WIndows machine, IIS server. I use
Linux at home, and send files to the server via Gftp or IglooFTP-Pro. The
problem is that if I have a file, say Pippo_Pippo.php, and later I send
pippo_pippo.php, when this file arrives to the server, it changes in
Pippo_Pippo.php, so, the old file Pippo_Pippo.php changes to the newly
sent file and pippo_pippo.php is lost. This is really strange for I didn't
notice this problem before a week ago, when I had correctly sent both
Pippo_Pippo.php and pippo_pippo.php, without problems. And still on the
server are files with the same name but different in letter case, like
Change_Message.php and change_message.php. But now, if I try to resend
them, they change.

Has anyone had this problem before?

Thanks in advance

Francesco


Re: Strange problems with ftp

Postby Lew Pitcher » Fri, 28 Apr 2006 21:18:22 GMT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1




You don't have a problem with Linux. You forget that, while Linux
filenames are case-sensitive, Microsoft Windows filenames are not.

You are seeing the effects of Microsoft Windows telling you that, to it,
the filenames "pippo_pippo.php" and "Pippo_Pippo.php" are the same. It
would not matter if your Linux box sent "PiPpO_pIpPo.PhP", /Windows/
would still make that name into "Pippo_Pippo.php".

- --

Lew Pitcher, IT Specialist, Corporate Technology Solutions,
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla -  http://www.**--****.com/ 

iD8DBQFEULaNagVFX4UWr64RAiRvAJsF+v5MKnJpEi8lRwUMPgj3GPBN4QCdFa5q
xhguU0VDPrcyR/mbGNBIK10=
=65no
-----END PGP SIGNATURE-----

Re: Strange problems with ftp

Postby Lampa Dario » Fri, 28 Apr 2006 22:36:44 GMT


You are correct with this, but I forgot to say that I had both
pippo_pippo.php and Pippo_Pippo.php in the same directory on the Windows
webserver, without any problem. Infact my web site worked properly.
Suddenly these problems started to appear a week ago, and this was really
strange and not understandable. But the strange thing is that if I send
pippo_pippo.php and Pippo_Pippo.php by Windows, they arrive different and
stay different. I tried this with more computers with Linux installed, and
the result was the same, pippo_pippo.php and Pippo_Pippo.php arrived like
Pippo_Pippo.php, with SmartFTP on a WIndows machine they arribed like two
different file, pippo_pippo.php and Pippo_Pippo.php.

I am getting crazy.

Francesco

Similar Threads:

1.Strange problem with FTP (too many connections stop connecting)

I have a certain process (mine) that sends a lot of queries to a FTP
server (also mine). All machines and processes are mine and there is
no foul play involved. The machines are on the same organizational
network, though on different subnets.

The server is vsftpd on debian. 

The client is a perl script using Net::FTP perl module running on
ubuntu gutsy. 

As part of the process, the client connects to FTP daemon and does a
lot of directory listings. (like thousands of queries) as the client
browses through the server's directory tree. 

That's all good and well. 

As you know, FTP is such a protocol that for every directory listing, a
new data connection is made, with direction depending on passive
vs. active mode.

The problem is that sporadically, the connections that the client
makes to the server, time out in the "connect()" call. In other words,
the server is listening (and I can telnet to the specific port
assigned by FTP from another machine), but the client times out. 

The weird thing is this: if I type 

    telnet <server> <assigned-port> 

from the client machine, it times out. 

If I type the same from another machine, it connects (with FTP server
properly detecting a fake connection coming from another IP and
discarding that connection).

My question is WTF, why would connect() calls time out like this.

Any idea.

thanks

i

2.Really strange problem with Linux and FTP

Something strange happens...

I have found a strange behaviour of Linux when sending a file via FTP. 
I am managing a web site, hosted on a WIndows machine, IIS
server. I use Linux at home, and send files to the server via Gftp or
IglooFTP-Pro. The problem is that if I have a file, say Pippo_Pippo.php,
and later I send pippo_pippo.php, when this file arrives to the server, it
changes in Pippo_Pippo.php, so, the old file Pippo_Pippo.php changes to
the newly sent file and pippo_pippo.php is lost.
This is really strange for I didn't notice this problem before a week ago,
when I had correctly sent both Pippo_Pippo.php and pippo_pippo.php,
without problems. And still on the server are files with the same name but
different in letter case, like Change_Message.php and change_message.php.
But now, if I try to resend them, they change.

Has anyone had this problem before?

Thanks in advance

Francesco


3.Strange FTP transmission problem

Hallo group.

I use FTP protocol for file transfer
between two places located in one city.
The sketch of situation is as follows:

    SERVER    
  RedHat 9.0.  ---DSL512---|--------|
    vsftpd                 |        |
                           |INTERNET|
 |------------|            |        |
 |FreeBSD 5.0.|---DSL512---|--------|
 |    (NAT)   |
 |------------|
       |
       |
 |-----------|
 |  client   |
 |-----------|

( in practice "INTERNET" = one router
i my ISP )
DSL is assimaetrical link with 128kbit/s rate upstream )

I have problem with large file transmission.
When I start file download I get the transmision
rate about 10-15 kbyte/s but after while transmission
stops and I can't do anything with it.
I have no idea what can be wrong.
I found the FTP client which detects such situation,
renew connection and continue download.
However I still can't  download files larger then
6MB. I use vsftpd v 1.1.3-8. as FTP server 
with no transfer restriction applied into it.
It works as anonymous server for download only.

I also noticed that secure SSH file transfer
works fine and other stufs like http transfer
works without problems.

I have no idea what might be wrong.
I checked server log but I haven't found anything.
I would appreciate any help and any suggestion.

Best regards.
Adam.

4.strange FTP problem

trying to FTP file between two aix systems
first attempt failed with following error:

452 Error writing file: Error 0

second attempt(exact same procedure) failed with the following:

452 Error writing file: File cannot be larger than ulimit

Both failed at the exact same byte: 68589453312
(68gig into a 87gig file)

Not sure why exact same procedure produced two different
452 error messages

ulimit defaults and ulimit of user doing ftp are:


default:
        fsize = -1
        core = 2097151
        cpu = -1
        data = 262144
        rss = 65536
        stack = 65536
        nofiles = 4000
ftpuser:
        fsize = -1
        core = -1
        data = -1
        stack = -1
        fsize_hard = -1
        core_hard = -1
        cpu_hard = -1
        data_hard = -1
        stack_hard = -1

data moving from AIX 5.3 jfs2 filesystem to
AIX 5.2 jfs large file enabled filesystem

Thanks in advance

5.Strange FTP problem

I'm having a strange problem with FTP. I have a Solaris 9 box in a DMZ. FTP
from my Solaris 9 boxes inside the firewall to the Solaris 9 box in the DMZ
is going extremely slow - 60-100 Kbps. FTP from Windows boxes or Linux boxes
inside the firewall to the Solaris 9 box in the DMZ is much, much faster -
4000 Kbps. FTP from Windows or Lunix boxes to a Windows server in the DMZ is
also much faster, in the neighborhood of 4000 Kbps. It's only the
Solaris-to-Solaris transfer that's slow. Can anybody give me a rational
explanation for this?

Thanks,
Harry 

6. PROBLEM: Strange active ftp failure

7. PROBLEM: Strange active ftp failure - adendum

8. strange FTP problem--transatlantic asymmetry



Return to linux

 

Who is online

Users browsing this forum: No registered users and 70 guest