Networking Forums

Networking Forums > Computer Networking > Windows Networking > Windows FTP and PERL Script uploading problems...

Reply
Thread Tools Display Modes

Windows FTP and PERL Script uploading problems...

 
 
Eric Liu
Guest
Posts: n/a

 
      09-03-2004, 06:53 PM
Hello,

I have a perl script that monitors a directory and
whenever a new file is put in there, it will connect to a
FTP site and upload that file.

Unfortunately, sometimes the FTP server tells me that the
File received OK but does not display XXXX bytes sent in
X.XX seconds. When this happens, the file does NOT get
sent correctly.

Here are my logs for

SUCCESSFUL:
ftp> ftp> lcd r:\
Connected to X.com.

open X.com
220 This system is restricted to authorized users.
Individuals attempting unauthorized access will be
prosecuted. If unauthorized, terminate access now.
User:
331 Please specify the password.

230 Login successful. Have fun.
ftp> ftp>
put file.ext
200 PORT command successful. Consider using PASV.
150 Go ahead make my day^W^W^Wsend me the data.
226 File receive OK.
ftp: 4402 bytes sent in 0.19Seconds 23.41Kbytes/sec.

ftp> ftp>
bye
221 Goodbye.

--------

UNSUCCESSFUL:
ftp> ftp> lcd r:\
Connected to fdde1ftp01.fand.com.

open ftpmain.fand.com
220 This system is restricted to authorized users.
Individuals attempting unauthorized access will be
prosecuted. If unauthorized, terminate access now. FAND
User (fdde1ftp01.fand.comnone)):
331 Please specify the password.

230 Login successful. Have fun.
ftp> ftp>
put d:\fand\7028518.LDR
200 PORT command successful. Consider using PASV.
150 Go ahead make my day^W^W^Wsend me the data.
226 File receive OK.
ftp: 4629 bytes sent in 0.20Seconds 22.80Kbytes/sec.

ftp> ftp>
bye
221 Goodbye.
ftp> ftp> lcd r:\
Connected to X.com.

open X.com
220 This system is restricted to authorized users.
Individuals attempting unauthorized access will be
prosecuted. If unauthorized, terminate access now.
User:
331 Please specify the password.

230 Login successful. Have fun.
ftp> ftp>
put file.ext
200 PORT command successful. Consider using PASV.
150 Go ahead make my day^W^W^Wsend me the data.
226 File receive OK.
ftp> ftp>
bye
221 Goodbye.

---------

As you can see, the "ftp: 4629 bytes sent in 0.20Seconds
22.80Kbytes/sec." is missing.

This only began happening after I upgraded to 2003 Server.

Anybody have a solution to this? This problem happens
probably 1/6 times per FTP connection...
 
Reply With Quote
 
 
 
Reply

« Wake on LAN | iSCSI »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USEFUL perl SCRIPT: NTP verifier Ignoramus5390 Linux Networking 23 01-15-2008 04:39 PM
problems uploading/surfing. Jules Home Networking 10 03-20-2006 11:18 AM
Signal strength from Cisco 350 Bridge from perl script? tomviolin Wireless Internet 7 04-25-2005 12:09 AM
perl script to send sms via serial yaeyo Linux Networking 0 01-13-2005 01:07 PM
linux script from windows Tom Spencer Linux Networking 2 04-15-2004 01:19 PM



1 2 3 4 5 6 7 8 9 10 11