Sponsored Content
Top Forums UNIX for Dummies Questions & Answers FTP batch file suddenly stopped working Post 302883805 by Mick_Dundee on Thursday 16th of January 2014 06:48:47 AM
Old 01-16-2014
[Solved] FTP batch file suddenly stopped working

Hello, we have a UNIX system the runs our business data.

We have 4 users that use a particular batch command file to extract data for use in the Windows side of the fence: (despreg.bat)

Code:
ftp
ftp> open danapak (database name)
connected to danapak
ftp> user ccsb
password ccsb
ftp> getdespreg2056.txt
200 PORT command successful
150 Opening ASCII mode data connection for despreg2056.txt <195 bytes>
226 transfer complete
ftp: 196 bytes received in 0.00Seconds 98.00Kbytes/sec

For some reason, one user's command stops and hangs at the 200 PORT command point, and wont go any further to complete the cycle. Everyone else's works fine. Nothing has changed, it had worked previously up to 1 week ago.

Any experts out there ? the target files haven't been amended or moved on the UNIX system nor has it been touched or re-booted.

Last edited by Don Cragun; 01-16-2014 at 08:08 AM.. Reason: Add CODE tags.
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
MPSState.h(3)						 MetalPerformanceShaders.framework					     MPSState.h(3)

NAME
MPSState.h SYNOPSIS
#import <MPSCore/MPSCoreTypes.h> Classes class MPSStateResourceList struct MPSStateTextureInfo class MPSState Typedefs typedef struct MPSStateTextureInfo MPSStateTextureInfo typedef enum MPSStateResourceType MPSStateResourceType typedef NSArray< MPSState * > MPSStateBatch Enumerations enum MPSStateResourceType { MPSStateResourceTypeNone, MPSStateResourceTypeBuffer, MPSStateResourceTypeTexture } Functions NSUInteger MPSStateBatchIncrementReadCount (MPSStateBatch *__nullable batch, NSInteger amount) '' NSUInteger void MPSStateBatchSynchronize (MPSStateBatch *__nonnull batch, __nonnull id< MTLCommandBuffer > cmdBuf) '' Typedef Documentation typedef NSArray<MPSState*> MPSStateBatch typedef enum MPSStateResourceType MPSStateResourceType" typedef struct MPSStateTextureInfo MPSStateTextureInfo Enumeration Type Documentation enum MPSStateResourceType Enumerator MPSStateResourceTypeNone MPSStateResourceTypeBuffer MPSStateResourceTypeTexture Function Documentation NSUInteger MPSStateBatchIncrementReadCount (MPSStateBatch *__nullable batch, NSInteger amount) raise or lower the readcount of a batch by a set amount In some circumstances, a MPSState may appear in a MPSStateBatch multiple times. This is particularly common when the MPSState serves as an accumulator across the entire batch, such as when accumulating gradients for convolution weight update or batch statistics for batch normalization. A naive function would then end up incrementing the state multiple times, probably leading to an error. MPSStateBatchIncrementReadCount() will efficiently increment the readCounts of each object in the batch only once, avoiding this problem. Parameters: batch The MPSStateBatch to increment amount The value to add to the read count for each unique state in the batch Returns: The number of different objects in the batch NSUInteger void MPSStateBatchSynchronize (MPSStateBatch *__nonnull batch, __nonnull id< MTLCommandBuffer > cmdBuf) Call [MTLBlitEncoder synchronizeResource:] on unique resources Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSState.h(3)
All times are GMT -4. The time now is 01:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy