FTP batch file suddenly stopped working


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers FTP batch file suddenly stopped working
# 15  
Old 01-20-2014
The problem client cant access other files that we also know 100% work on the other machines, the same thing happens after the command is issued: "Can't build data connection"

Image

So, we know it can connect to the UNIX and log into the FTP but it has a problem accessing the files within that user login, could this be a permissions issue? I have no idea how the permissions would change (the user certainly wouldn't have a clue how to even access UNIX never mind change permissions). v strange.
# 16  
Old 01-20-2014
"Can't build data connection" means it can't start the data (second stage) of the ftp. (See the active vs passive explanation link I posted).

Why can't you take down the firewall on that client? Does it give you an error (eg, permission denied) or do you need to be given the steps.

No guarantees but I reckon the firewall could be the problem and if I were you I'd definitely need to eliminate it from the investigation.

---------- Post updated at 10:10 AM ---------- Previous update was at 09:54 AM ----------

I just took down the firewall on a Windows 7 client that I have here and this is exactly how I did it. I'm not saying that this will work for you but post any error that you get.

Start > Control Panel
Click on the actual words "Network and Internet"
Click on "System and security" in the left column
Click on the actual words "Windows firewall"
Click on "Turn Windows firewall on or off" in the left column
Set any/all firewall options to "off"
Click OK

Obviously this is just for testing purposes.

---------- Post updated at 10:13 AM ---------- Previous update was at 10:10 AM ----------

And for the record, what AV are you using?
# 17  
Old 01-20-2014
I have even logged on as Administrator and still get the greyed out box!

Image
# 18  
Old 01-20-2014
Hmmmmmm!!!

Does a client that works on ftp allow you to turn off it's firewall?
# 19  
Old 01-20-2014
No, the others that we know work on FTP also display this same firewall lockdown.

I have tried to access the Firewall on the main domain controller, but it blocks me saying:

"Windows Firewall cannot run because another program or service is running that might use the Network Address Translation Component (Ipnat.sys)" - This may be opening other cans of worms but WTF ?

Our AV is AVG 2013 Business Edition.
# 20  
Old 01-20-2014
There's quite a discussion on Microsoft forum about firewall:

Can't turn off Win 7 domain firewall

I'm not an expert on Windows and I recommended you switch off the firewall for good measure. It's just a logical step. However, messing with domain controllers in a production environment is not recommended.

It might be easier to take that client off the domain, test ftp, and then put it back on the domain rather than mess with domain settings.

Need a Windows expert.

---------- Post updated at 10:36 AM ---------- Previous update was at 10:31 AM ----------

Another thing I would do is ping the client from the unix box then shutdown the client to check the ping fails just in case duplicate ip address exists. Perhaps when the unix box "calls back" during the ftp it's routing elsewhere and not getting to that client. Just a thought.
# 21  
Old 01-20-2014
There is not response from pinging when client is shutdown.

I feel messing with DHCP isnt the answer here as it would be the same for everyone, the fact that these settings are applied across the board, makes me think its not the correct avenue to explore.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Mailx stopped working

after a new patch set on the 14th. I noticed that mailx stopped working, as far a I can tell that is the only thing that changed. solaris 10 OS it seems everything is the same, sendmail seems to be running root@server # ps -ef | grep -i sendmail smmsp 687 1 0 10:42:25 ? ... (0 Replies)
Discussion started by: goya
0 Replies

2. AIX

Printer stopped working

I have a serial printer connected to a 16 port ran. All of a sudden my printer stopped working and not sure how to get it back. Can anyone help pint me in the write direction? lsdev -Cc printer gives me the following. lp0 Defined 0A-08-11-00 Other serial printer lp1 Defined 0A-08-11-03... (3 Replies)
Discussion started by: Gmanx
3 Replies

3. Shell Programming and Scripting

How to execute a batch file containing ftp commands??

hi, is there a way i can execute a batch file containing ftp commands like we execute sftp batch file. sftp -b batchfile user@server > output how to create a batch file for ftp executing command and how to run the batch file from a shell script? (2 Replies)
Discussion started by: Little
2 Replies

4. Solaris

X86 solaris10 suddenly stopped mounting flashdrive

I can't mount flash drives and dvd drives on my x86 solaris 10. The error message appears after login; sd_media_watch_cb: dev gone. When I issue #mount /usb, it first shows disk is mounted or busy, and '/dev/dsk/c3t0d0p1 - there is no such device or address' when I repeat it. But the... (5 Replies)
Discussion started by: vectrum
5 Replies

5. UNIX for Dummies Questions & Answers

Cleanup job to remove old files suddenly not working

Hi I have a job that has been running for a while with the following statement to cleanup a directory: find /dbmgtu01/app/myplace/log ! \( -name "dc*" -o -name "sc*" -o -name "ms*" \) -type f -mtime +30 -print -exec rm {} \ ; The directory was recently changed to a mount point, with a symbolic... (2 Replies)
Discussion started by: CAGIRL
2 Replies

6. Windows & DOS: Issues & Discussions

Batch file to Get New Files Only through FTP

Hi there I want to create a batch file which Get (mget) the newly added Files only from specific directory on UNIX server to specific folder on windows server using FTP, and this batch file will be scheduled on the windows server to run daily to load the new files (load the newly added files... (1 Reply)
Discussion started by: alsharq
1 Replies

7. Windows & DOS: Issues & Discussions

Batch file to Get New Files Only through FTP

Hi there I want to create a batch file which Get (mget) the newly added Files only, from specific directory on UNIX server to local folder on windows server through FTP, and this batch file will be scheduled to run daily to load the new files. help me plz :confused: (1 Reply)
Discussion started by: alsharq
1 Replies

8. Linux

Cronjobs stopped working

Hi All, I am user of a Linux machine and I have approximatly 15 cronjobs scheduled in my crontab. Yesterday my administrator made LDAP active on my userid and all the things are doing fine after that. But all cronjobs for my user id stored in my crontab have stopped working after that. Could... (1 Reply)
Discussion started by: bisla.yogender
1 Replies

9. UNIX for Dummies Questions & Answers

UNIX Batch FTP Command file

Hello, I am a UNIX newbie and this is my first posting. I need to create a batch command file to ftp from Sun/Solaris to AS/400. Here is an example file: ftp -d -i -n -v 172.28.16.22 pwd ls binary quit This is the result of executing the command file: Connected to... (10 Replies)
Discussion started by: pietro
10 Replies
Login or Register to Ask a Question