|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
FTP While transfering files to local machine to remote machine
Hi Am using unix Ksh
Am getting the problem while transferring zero size files through the script . When i transfer zero size files from local machine to remote machine manually i can able to do it . My question its beause of zero size files am not able to transfer through script ? or its possible to transfer zero size files through script ? |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Can you please post ur script here??
|
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
It should be fine, but will depend on the ftp client you are using, some could potentially skip zero length.
Some questions for you to consider: When you are manually doing the transfer, are you doing the *exact same thing* as your script would do? If you are using a different command or different parameters, then focus your attention there. Does the script do any checks that your manual process does not? If you are doing a checksum, you might have some bug in the script that fails to handle zero-length properly, or your script may be explicitly deleting zero length files considering them to be failed transfers. But as PiK45 says, you'll need to list the command/script you are using to get any specific help here I suspect. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Transfering files from one to another machine in different directories | madhurjajoo | Shell Programming and Scripting | 1 | 04-28-2012 08:02 AM |
| How to transfer files from unix machine to local machine using shell script? | vidhyaS | Shell Programming and Scripting | 1 | 08-08-2011 10:27 AM |
| Using local variable on a remote machine | jangozo | Shell Programming and Scripting | 4 | 03-20-2011 05:50 AM |
| To find the LATEST file from a dir on REMOTE machine and SCP to local machine? | me_ub | Red Hat | 3 | 07-08-2009 12:57 AM |
| [FTP]opying of file from remote to local machine | sonbag_pspl | Solaris | 1 | 08-12-2004 04:15 AM |
|
|