mainSavannah Administration - Support: sr #104255, How to let update download area...

 
 

sr #104255: How to let update download area quickly?

Submitter:  Jia Wang <skyroam>
Submitted:  Tue 31 May 2005 03:14:27 PM UTC
   
 
Category:  Download area - anonymous access Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  Beuc
Operating System:  GNU/Linux Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 08 Jun 2005 09:34:30 AM UTC, comment #14: 

I met the same problem when I upload to the other ftp today.
I am not sure whether it is the reason of buggy filter installed on proxy server in my school. On the other hand, the proxy server in my school will cut down tcp connection frequently for unknown reason. Now I have to find a shell server  outside  my school to do this.

Jia Wang <skyroam>
Tue 07 Jun 2005 08:08:26 PM UTC, comment #13: 

Well I uploaded the files myself and it worked.

Also, the file that was previously upload is different from this one: it was truncate

new:
174771 Jun  7 15:59 .phc-1.1-pre1.tar.gz
        65 Jun  7 15:59 .phc-1.1-pre1.tar.gz.sig


old:
121632 Jun  6 06:45 .phc-1.1-pre1.tar.gz
          0 Jun  6 06:45 .phc-1.1-pre1.tar.gz.sig

So, all what I can say is that the process seems to be working fine here.
I can't think of any other reason why it didn't work for you..

Sylvain Beucler <Beuc>
Mon 06 Jun 2005 10:55:17 PM UTC, comment #12: 

The residual files included an empty signature files.

Could you again attach the files here so we can perform tests?

Sylvain Beucler <Beuc>
Mon 06 Jun 2005 11:29:06 AM UTC, comment #11: 

Hi.
I upload both  files in binary mode now. And these files did not appear in download area just as before:

proxychains ftp
ftp> o savannah.gnu.org
ProxyChains-2.1 (http://proxychains.sf.net)
dynamic chain:....127.0.0.1:2000....199.232.41.3:21..OK
Connected to savannah.gnu.org (199.232.41.3).
220 Savannah Upload FTP server ready.
Name (savannah.gnu.org:os): anonymous
530 Please login with USER and PASS.
SSL not available
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd incoming/savannah/phc
250 Directory successfully changed.
ftp> type
Using binary mode to transfer files.
ftp> type binary
200 Switching to Binary mode.
ftp> put phc-1.1-pre1.tar.gz
local: phc-1.1-pre1.tar.gz remote: phc-1.1-pre1.tar.gz
500 Illegal PORT command.
ftp: bind: Address already in use
ftp> passive
Passive mode on.
ftp> put phc-1.1-pre1.tar.gz
local: phc-1.1-pre1.tar.gz remote: phc-1.1-pre1.tar.gz
227 Entering Passive Mode (199,232,41,3,129,130)
dynamic chain:....127.0.0.1:2000....199.232.41.3:33154..OK
150 Ok to send data.
226 File receive OK.
174771 bytes sent in 0.0227 secs (7.5e+03 Kbytes/sec)
ftp> type binary
200 Switching to Binary mode.
ftp> put phc-1.1-pre1.tar.gz.sig
local: phc-1.1-pre1.tar.gz.sig remote: phc-1.1-pre1.tar.gz.sig
227 Entering Passive Mode (199,232,41,3,234,219)
dynamic chain:....127.0.0.1:2000....199.232.41.3:60123..OK
150 Ok to send data.
226 File receive OK.
65 bytes sent in 0.00969 secs (6.5 Kbytes/sec)
ftp> exit
221 Goodbye.

Jia Wang <skyroam>
Mon 06 Jun 2005 06:32:27 AM UTC, comment #10: 

Hi,

It this normal?

ftp> type ascii
200 Switching to ASCII mode.
ftp> put phc-1.1-pre1.tar.gz.sig

.sig files are binary as well.

Sylvain Beucler <Beuc>
Sun 05 Jun 2005 10:47:41 PM UTC, comment #9: 

I failed to upload with lftp before and ftp today.

-------------------------------------------------------------
version information:
esearch ^ftp$

[ Results for search key : ^ftp$ ]
[ Applications found : 1 ]

  •  net-ftp/ftp

      Latest version available: 0.17-r4
      Latest version installed: 0.17-r4
      Size of downloaded files: 52 kB
      Homepage:    http://www.hcs.harvard.edu/~dholland/computers/netkit.html
      Description: Standard Linux FTP client
      License:     as-is

------------------------------------------------------------
more details on uploading with ftp:
proxychains ftp
ftp> trace
Packet tracing on.
ftp> o savannah.gnu.org
ProxyChains-2.1 (http://proxychains.sf.net)
dynamic chain:....127.0.0.1:2000....199.232.41.3:21..OK
Connected to savannah.gnu.org (199.232.41.3).
220 Savannah Upload FTP server ready.
Name (savannah.gnu.org:os): anonymous
530 Please login with USER and PASS.
SSL not available
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd incoming
250 Directory successfully changed.
ftp> cd savannah/phc
250 Directory successfully changed.
ftp> type
Using binary mode to transfer files.
ftp> put phc-1.1-pre1.tar.gz
local: phc-1.1-pre1.tar.gz remote: phc-1.1-pre1.tar.gz
500 Illegal PORT command.
ftp: bind: Address already in use
ftp> pasv
?Invalid command
ftp> passive
Passive mode on.
ftp> put phc-1.1-pre1.tar.gz
local: phc-1.1-pre1.tar.gz remote: phc-1.1-pre1.tar.gz
227 Entering Passive Mode (199,232,41,3,119,92)
dynamic chain:....127.0.0.1:2000....199.232.41.3:30556..OK
150 Ok to send data.

226 File receive OK.
174771 bytes sent in 0.0222 secs (7.7e+03 Kbytes/sec)
ftp>
ftp> type ascii
200 Switching to ASCII mode.
ftp> put phc-1.1-pre1.tar.gz.sig
local: phc-1.1-pre1.tar.gz.sig remote: phc-1.1-pre1.tar.gz.sig
227 Entering Passive Mode (199,232,41,3,73,136)
dynamic chain:....127.0.0.1:2000....199.232.41.3:18824..OK
150 Ok to send data.
226 File receive OK.
65 bytes sent in 0.0177 secs (3.6 Kbytes/sec)
ftp> quit

Jia Wang <skyroam>
Sun 05 Jun 2005 09:01:28 PM UTC, comment #8: 

Hi,

I remember we had issues with some version of ncftp that always used ascii mode for uploading.

Can you try with another client, such as the 'ftp'.

Sylvain Beucler <Beuc>
Sun 05 Jun 2005 07:05:37 PM UTC, comment #7: 

I have try to upload both file in binary mode, failed.
Then I upload .gz in binary mode but .sig in ascii mode, I failed too:
(The latest trace file of ncftp)

SESSION STARTED at:  2005-06-06 02:24:59 CST +0800
   Program Version:  NcFTP 3.1.8/167 Jul 27 2004, 03:31 PM
   Library Version:  LibNcFTP 3.1.8 (May 26, 2004)
        Process ID:  27404
          Platform:  linux-x86
          Hostname:  localhost.localdomain  (rc=3)
          Terminal:  rxvt
02:24:59  Fw:   Type: 0  User:   Pass: (none)  Port: 0
02:24:59  FwExceptions: .localdomain,localdomain
02:24:59  Resolving savannah.gnu.org...
02:24:59  Connecting to 199.232.41.3...
02:24:59  LibNcFTP 3.1.8 (May 26, 2004) compiled for linux-x86
02:24:59  Uname: Linux|localhost|2.6.11-gentoo-r2udev|#1 Fri Mar 11 02:54:23 CST 2005|i686
02:24:59  Glibc: 2.3.4 (20040808)
02:25:03  Logging in...
02:25:03  220: Savannah Upload FTP server ready.
02:25:03  Connected to 199.232.41.3.
02:25:03  Cmd: USER anonymous
02:25:04  Logging in...
02:25:04  230: Login successful.
02:25:04  Cmd: PWD
02:25:04  257: "/"
02:25:04  Logged in to 199.232.41.3 as anonymous.
02:25:04  Cmd: FEAT
02:25:05  500: Unknown command.
02:25:05  Cmd: HELP SITE
02:25:07  214: The following commands are implemented.
02:25:07        ABOR APPE CDUP CWD  DELE EPRT EPSV HELP LIST MDTM MKD  MODE NLST NOOP
02:25:07        PASS PASV PORT PWD  QUIT REST RETR RMD  RNFR RNTO SITE SIZE STOR STOU
02:25:07        STRU SYST TYPE USER XCUP XCWD XMKD XPWD XRMD
02:25:07       Help OK.
02:25:07  Logged in to savannah.gnu.org.
02:25:07  Cmd: CLNT NcFTP 3.1.8 linux-x86
02:25:08  500: Unknown command.
02:25:08  Cmd: CWD incoming
02:25:08  250: Directory successfully changed.
02:25:08  Cmd: CWD savannah
02:25:09  250: Directory successfully changed.
02:25:09  Cmd: CWD phc
02:25:09  250: Directory successfully changed.
02:25:09  Cmd: PWD
02:25:11  257: "/incoming/savannah/phc"
02:25:18  > put phc-1.1-pre1.tar.gz

02:25:18  Cmd: TYPE I
02:25:18  200: Switching to Binary mode.
02:25:18  Cmd: REST 1
02:25:19  350: Restart position accepted (1).
02:25:19  Cmd: REST 0
02:25:22  350: Restart position accepted (0).
02:25:22  Cmd: SIZE phc-1.1-pre1.tar.gz
02:25:23  550: Could not get file size.
02:25:23  Cmd: STAT NoSuchFile
02:25:24  500: Unknown command.
02:25:24  Cmd: PWD
02:25:25  257: "/incoming/savannah/phc"
02:25:25  Cmd: CWD /
02:25:26  250: Directory successfully changed.
02:25:26  Cmd: TYPE A
02:25:26  200: Switching to ASCII mode.
02:25:26  Cmd: PASV
02:25:28  227: Entering Passive Mode (199,232,41,3,45,182)
02:25:28  Cmd: NLST
02:25:32  150: Here comes the directory listing.
02:25:32  226: Transfer done (but failed to open directory).
02:25:32  Cmd: CWD /incoming/savannah/phc
02:25:32  250: Directory successfully changed.
02:25:32  Cmd: PASV
02:25:33  227: Entering Passive Mode (199,232,41,3,212,38)
02:25:33  Cmd: NLST NoSuchFile
02:25:38  150: Here comes the directory listing.
02:25:38  226: Transfer done (but failed to open directory).
02:25:38  Cmd: PWD
02:25:38  257: "/incoming/savannah/phc"
02:25:38  Cmd: CWD /
02:25:39  250: Directory successfully changed.
02:25:39  Cmd: PASV
02:25:39  227: Entering Passive Mode (199,232,41,3,47,182)
02:25:40  Cmd: NLST
02:25:44  150: Here comes the directory listing.
02:25:44  226: Transfer done (but failed to open directory).
02:25:44  Cmd: TYPE I
02:25:44  200: Switching to Binary mode.
02:25:44  Cmd: PASV
02:25:45  227: Entering Passive Mode (199,232,41,3,177,32)
02:25:45  Cmd: STOR testfile.ftp
02:25:47  553: Could not create file.
02:25:47  Cmd: CWD /incoming/savannah/phc
02:25:50  250: Directory successfully changed.
02:25:50  Cmd: PASV
02:25:50  227: Entering Passive Mode (199,232,41,3,205,139)
02:25:51  Cmd: STOR phc-1.1-pre1.tar.gz
02:25:52  150: Ok to send data.
02:27:26  226: File receive OK.
02:27:26  Cmd: SITE UTIME phc-1.1-pre1.tar.gz 20050605132402 20050605134707 20050605134707 UTC
02:27:27  550: Permission denied.
02:27:27  Could not preserve times for phc-1.1-pre1.tar.gz: UTIME failed.
02:27:54  > type

02:27:54  Type is I (binary/image).
02:27:57  > type ascii

02:27:57  Cmd: TYPE A
02:27:58  200: Switching to ASCII mode.
02:27:59  > type

02:27:59  Type is A (ASCII).
02:28:04  > put phc-1.1-pre1.tar.gz.sig

02:28:04  Cmd: SIZE phc-1.1-pre1.tar.gz.sig
02:28:05  550: Could not get file size.
02:28:05  Cmd: PASV
02:28:06  227: Entering Passive Mode (199,232,41,3,204,26)
02:28:06  Cmd: STOR phc-1.1-pre1.tar.gz.sig
02:28:07  150: Ok to send data.
02:28:10  226: File receive OK.
02:28:10  Cmd: SITE UTIME phc-1.1-pre1.tar.gz.sig 20050605135154 20050605135154 20050605135154 UTC
02:28:10  550: Permission denied.
02:28:10  Could not preserve times for phc-1.1-pre1.tar.gz.sig: UTIME failed.
02:28:21  > exit

02:28:23  Cmd: QUIT
02:28:29  221: Goodbye.
SESSION ENDED at:    Mon Jun  6 02:28:29 2005

Jia Wang <skyroam>
Sun 05 Jun 2005 04:46:31 PM UTC, comment #6: 

I failed to upload phc-1.0.tar.gz with proxychains (In my school, I have to go through a few proxies to reach savannah.) and ncftp:

proxychains ncftp ftp://savannah.gnu.org/incoming/savannah/phc

----------------------------------------------------------
1.Yes, it is in binary mode, the default setting :

ncftp / > type
Type is I (binary/image).
ncftp / >

more setting:

ncftp / >set
anon-password                  NcFTP@
auto-ascii                     |.txt|.asc|.html|.htm|.css|.xml|.ini|.pl|.hqx|.cfg|.c|.h|.cpp|.hpp|.bat|.m3u|.pls|
auto-resume                    no
autosave-bookmark-changes      no
confirm-close                  yes
connect-timeout                20
control-timeout                135
logsize                        10240
pager                          /usr/bin/less
passive                        on
progress-meter                 2 (statbar)
redial-delay                   20
save-passwords                 ask
show-status-in-xterm-titlebar  no
so-bufsize                     0 (use system default)
xfer-timeout                   3600
yes-i-know-about-NcFTPd        no

But I am  expert neither on FTP protocol nor on NVT. So I am not sure whether it is necessary to change type into ASCII mode manually for .sig file just after I upload .gz file.

-----------------------------------------------------------
2. I  logined  to a free shell server in U.S.A via ssh (proxychains zssh user@host) and uploaded all of files through zmodem protocol to the shell server. Then I succeeded in uploading these files in that server to savannah with ncftp at that  shell server. 

So I think I can use "-L" or "-D" option of OpenSSH to build a ssh tunnel to the shell server if permitted. For too lag connection to that server, I haven't test it now.

------------------------------------------------------------
3. I entered the GPG key a few months ago. And I failed to upload my project files just after I uploaded the test file "gentoo-release*"  successfully.


Jia Wang <skyroam>
Fri 03 Jun 2005 09:21:14 PM UTC, comment #5: 

Hello,

Did you check that you uploaded files in binary mode (not ascii)?

Also, can you tell me more about the way you upload via a SSH tunnel? I am not familiar with open ssh proxy.

How long elasped between the moment you entered the GPG key, and the moment you uploaded the files? There is a 1/2 hour delay for GPG keys updates to the system.

Sylvain Beucler <Beuc>
Fri 03 Jun 2005 10:05:35 AM UTC, comment #4: 

I finish uploading  phc-1.0.tar.gz with a  ssh proxy now. So I doubt that phc-1.0.tar.gz was filtered and modified at some routers between china and savannah. It is not always a easy work to find a 'stable' ssh proxy. I hope I can release file through a ssh tunnel to savannh in the future.

Jia Wang <skyroam>
Fri 03 Jun 2005 09:28:47 AM UTC, comment #3: 

File gentoo-release and gentoo-release.sig are uploaded successfully. After this I failed to upload   phc-1.0.tar.gz and phc-1.0.tar.gz.sig again and again. I am puzzled.

Jia Wang <skyroam>
Fri 03 Jun 2005 08:53:00 AM UTC, comment #2: 

I check it in another machine, the result is:
gpg --verify phc-1.0.tar.gz.sig phc-1.0.tar.gz
gpg: Signature made Fri Jun  3 09:34:10 2005 CST using DSA key ID F81415A6
gpg: Good signature from "Jia Wang (student) <skyroam@gmail.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 16BC 2226 0DEB EB0F 0A2C  140A 29BD 76E8 F814 15A6

I do a test with /etc/gentoo-release, here is the output of
"uuencode -m gentoo-release gentoo-release":
begin-base64 644 gentoo-release
R2VudG9vIEJhc2UgU3lzdGVtIHZlcnNpb24gMS42LjYK
====

Then I do "gpg -u -email is unavailable- -b gentoo-release" with it.
At last, I type
"uuencode -m gentoo-release.sig gentoo-release.sig".
The output is:
begin-base64 644 gentoo-release.sig
iD8DBQBCoBqGKb126PgUFaYRAoVkAJ48o/VlEXrSPW6/w6RZlWO3+Q8stgCe
KuM7vN2YkPOHuwCxpUeVTZsiicI=
====

I upload gentoo-release and gentoo-release.sig to ftp://savannah.gnu.org/incoming/savannah/phc/
,too.

I am not familiar with GPG. There maybe something wrong I have done.
Thanks for your help again.


Jia Wang <skyroam>
Thu 02 Jun 2005 06:26:46 AM UTC, comment #1: 

As far as I can see the system rejected your upload. You should check the signature. If this still doesn't work, please send a test file and its signature so we can test what is going wrong.

Sylvain Beucler <Beuc>
Tue 31 May 2005 03:14:27 PM UTC, original submission:  

I have upload source code in gzip format together with sig file to incoming/phc. But they haven't appeared in download area in five minutes.  What should I do to  update it quickly?

Jia Wang <skyroam>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #4004:  phc-1.1-pre1.tar.gz.sig added by skyroam (65B - application/octet-stream - signature , for test)
file #3998:  phc-1.1-pre1.tar.gz added by skyroam (171KiB - application/gzip - phc-1.1-pre1.tar.gz , used for test)
file #3993:  phc-1.0.tar.gz added by skyroam (59KiB - application/gzip - phc-1.0.tar.gz)
file #3992:  phc-1.0.tar.gz.sig added by skyroam (65B - application/octet-stream - gpg -u -email is unavailable- -b phc-1.0.tar.gz)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 9 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-06-07 Beuc Open/ClosedOpen Closed
2005-06-07 skyroam Attached File- Added phc-1.1-pre1.tar.gz.sig, #144
2005-06-07 skyroam Attached File- Added phc-1.1-pre1.tar.gz, #143
2005-06-03 Beuc Open/ClosedClosed Open
2005-06-03 skyroam Attached File- Added phc-1.0.tar.gz, #140
2005-06-03 skyroam Attached File- Added phc-1.0.tar.gz.sig, #139
2005-06-02 Beuc StatusNone Done
    Assigned toNone Beuc
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code