[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: Troubles with wput-0.4w32



Hallo Hagen

Habe garnicht gesehen, dass es auch in deutsch geht. In der Anlage mal die Debug Ausgabe. Gibt es einen Zeitplan für die 0.5w32 ? Ich brauche das Tool eigentlich ziemlich dringend und ich weiss echt nicht was man alternativ nutzen soll.

Was ist denn eigentlich das wputrc File? Gelesen habe ich davon, aber details was man damit machen kann vermisse ich im Manual.
 

Mit freundlichen Grüßen
Alexander Hass


-----Ursprüngliche Nachricht-----
Von: Hagen Fritsch [mailto:hagen@itooktheredpill.dyndns.org] 
Gesendet: Freitag, 15. Oktober 2004 08:44
An: Alexander Hass
Betreff: Re: Troubles with wput-0.4w32


I'm currently rewriting wput, so 0.5 will be different a little more 
user-friendly esp. concerning error-messages. When creating a 
data-connection, wput tries either passive-mode or if specified by 
command-line port-mode. If either one fails creating a connection, wput will 
automatically try the other one and remember the setting.
In your case wput is using passive mode and the connection is established, but 
it seems as though the LIST command never finishes.
You could try to turn debug-mode (-d flag) on and maybe you'll see some 
error-messages.
The timestamping feature in wput < 0.5 does not work correctly since 
ftp-servers usually issue UTC-time whereas wput uses the local-time instead, 
so you might need to set the timestamping-concerning options in a wputrc 
file.
Regards,
Hagen

Am Donnerstag, 14. Oktober 2004 22:12 schrieben Sie:
> Dear Hagen
>
> i've got troubles get wput running. are you able to help with the 
> following problems? i'm uploading files from a network/local path to a 
> external ftp server. firewall only allows passive transfer.
>
> Problems:
> 1. it is not possible to specify full paths for uploading. for e.g. 
> "wput I:\dir1\css ftp://user1:password1@server1.server.de/html/css/";. 
> this result on the ftp server as 
> ftp://user1:password1@server1.server.de/html/css/I:/dir/css and is 
> wrong as you see... switching with cd to all dirs required for upload 
> is very error prone...
>
> 2. i'd ike to use --timestamping. from my understanding the file on 
> the target ftp server will have the local file time set after 
> transfer. isn't it? if i'm using this option i'm unable to transfer 
> anything wput stops at:
>
> I:>P:\Utilities\FTP\wput\wput -v --timestamping pc_ie.css 
> ftp://user1:password1@server1.sserver.de/html/css/ --22:04:57-- `pc_ie.css'
>     => ftp://user1:xxxxx@1.1.1.1/html/css/pc_ie.css
> Connecting to 1.1.1.1:21...  connected!
> Logging in as user1 ... Logged in!
> ==> CWD /html/css/ done.
> ==> PASV done.
> ==> TYPE A ... done
> ==> LIST ... done.
>
> maybe wput is using active in this situation and is blocked by 
> firewall!? i don't understand the command option --port-mode and the 
> syntax for forcing it to passive mode.
>
>
> Regards
> Alexander Hass

-- 
Mit besten Grüßen
 Hagen                          mailto:itooktheredpill@gmx.de
                      http://itooktheredpill.dyndns.org
I:\ferienwohnung\css>P:\Utilities\FTP\Wput\wput -d --timestamp ftp://user1:password1@server1.server.de/html/css/
Added URL `ftp://user1:password1@server1.server.de/html/css/' to queue.
processing queue:
File: `'
URL : `ftp://user1:password1@server1.server.de/html/css/'
processing queue:
File: `'
URL : `ftp://user1:password1@server1.server.de/html/css/'
IP of `server1.server.de' is `1.1.1.1'
PRE_GUESS: local_file:
remote_path: /html/css/   remote_file:  (0)
computing local_fname:
Trying to stat '\html\css'... failed! (errno: 2)
Trying to stat 'html\css'... failed! (errno: 2)
Trying to stat 'css'... Warning: No local file specified and no file found from URL.
Assuming the current working directory is to be uploaded to the remote server.
done. Found '.'
recur-ftp: . => ftp://user1:password1@server1.server.de/html/css/
tmpbuf: . (has a backslash?)
Dir entry name: .
Dir entry name: ..
Dir entry name: pc_ie_neu.css
fname: .\pc_ie_neu.css
target_fname: pc_ie_neu.css
dname: .
tmp: ftp://user1:password1@server1.server.de/html/css/./
directory added successful
fsession free()d
ignoring unbuild fsession
IP of `server1.server.de' is `1.1.1.1'
PRE_GUESS: local_file: .\pc_ie_neu.css
remote_path: /html/css/./ remote_file:  (0)
POST_GUESS: local_file: .\pc_ie_neu.css
remote_path: /html/css/./ remote_file: pc_ie_neu.css
Searching for skip_entry ftp://user1:password1@1.1.1.1:21/html/css/./
--09:49:20-- `.\pc_ie_neu.css'
    => ftp://user1:xxxxx@1.1.1.1:21/html/css/./pc_ie_neu.css
Connecting to 1.1.1.1:21... c_sock: 2e4
initiating timeout connect (100) (2e4)
 connected!
determing local ip_addr
Local IP: 10.1.100.20
Logging in as user1 ... 220 FTP Server ready.
---->USER user1
331 Password required for user1.
---->PASS password1
230 User user1 logged in.
---->SYST
215 UNIX Type: L8
Operating System (enum): 0
Logged in!
==> CWD /html/css/./---->CWD /html/css/./
250 CWD command successful.
 done.
---->SIZE pc_ie_neu.css
213 0
Remote filesize: 0
local_fsize: 8782
target_fsize: 0
Portmode: 0
==> PASV ---->PASV
227 Entering Passive Mode (1,1,1,1,193,56).
done.
Remote server data port: 49464
c_sock: 2c8
initiating timeout connect (100) (2c8)
==> TYPE A ... ---->TYPE A
200 Type set to A
done
==> LIST ... ---->LIST
150 Opening ASCII mode data connection for file list
done.