Incomplete reading and transferring zip file via SAMBA smbclient


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Incomplete reading and transferring zip file via SAMBA smbclient
# 1  
Old 05-28-2003
Data Incomplete reading and transferring zip file via SAMBA smbclient

Hello,

Anyone out there can help on this problem?

I have a zip file about 34MB containing a file in EBCDIC and is resided on a Windows 2000 server.

This zip file is retrieved and read from a UNIX server via SAMBA "SMBCLIENT" (by default the file is transferred via command bin) and issued error in reading remote file. Despite the read error, the incomplete file did transfer to the UNIX server.

Please explain the error and show how to correct the problem.

Note: I did spme test on read and retrieving zip files from a Windows NT 4.0 server and the zip file was read and transferred completely without errors to the UNIX server.

Thanks.

-------------------------------------------------------------------------------
Below showing the incomplete file copied:

-rw-r--r-- 1 clarify clarify 34078200 May 27 00:33 200304C20_blstnf.zip

Below showing the error messages:

smb: \csf_outputs\prod\2003-apr\cycle20\datalib\> smb: \csf_outputs\prod\2003-ap
r\cycle20\datalib\> getting file \csf_outputs\prod\2003-apr\cycle20\datalib\2003
04C20_blstnf.zip of size 34081006 bytes as 200304C20_blstnf.zip Error ERRSRV - E
RRerror (Non-specific error code.) reading remote file
Error reading file \csf_outputs\prod\2003-apr\cycle20\datalib\200304C20_blstnf.z
ip. Got 34078200 bytes
(3742.94 kb/s) (average 3742.94 kb/s)
# 2  
Old 05-28-2003
Please post the UNIX OS and version.

Also, searching the samba archives came up with nothing for your error.

As a suggestion, why not change the file format from EBCDIC to ASCII and then transfer the file?

Last edited by RTM; 05-28-2003 at 03:28 PM..
# 3  
Old 05-31-2003
Thank you RTM:

The UNIX OS and Version is: AIX Version 4

The file format changing from EBCDIC to ASCII is not possible because this affect many areas and it is very costly to change unless there are no alternatives at all.

I know that this type of problems are very hard to evaluate because of so many variables. It is not something that have a straight answer for it. It is usually require debugging and/or reconfiguration.

However I would want to see anyone had this problem experience before, knowing the cause and the possible remedy for it.

From my recent tests I do know that the SAMBA smbclient which is using now works everytime with Windows NT servers but is not working 100% (sometimes works and sometimes don't) with Windows 2000 servers.

Worse come to worst SAMBA smbclient might have to be replaced by FTP.


Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How can we Zip multiple files created on the same date into one single zip file.?

Hi all i am very new to shell scripting and need some help from you to learn 1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder. 2)Post zipping... (1 Reply)
Discussion started by: b.saipriyanka
1 Replies

2. UNIX for Beginners Questions & Answers

How can we Zip multiple files created on the same date into one single zip file.?

Hi all i am very new to shell scripting and need some help from you to learn 1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder. 2)Post zipping... (2 Replies)
Discussion started by: b.saipriyanka
2 Replies

3. UNIX for Dummies Questions & Answers

Reading QNX created FAT ZIP drive in WIndows 7

Hi All, One of our clients has an old QNX server system that writes history backups on ZIP disks. They then wish to take these back up ZIP disks, plug them into a Win7 box with an external ZIP drive and copy them across to an external Hard Drive. The files can be seen on the Win7 box but wont... (3 Replies)
Discussion started by: Beldanan
3 Replies

4. Shell Programming and Scripting

Zip Multiple files to One .zip file in AIX system

Hi I have a requirement in unix shell where I need to zip multiple files on server to one single .zip file. I dont see zip command in AIX and gzip command not doing completely what I want. One I do .zip file, I should be able to unzip in my local Computer. Here is example what I want... (9 Replies)
Discussion started by: RAMA PULI
9 Replies

5. Shell Programming and Scripting

Is it possible to create 10GB file in Linux and transferring the file to other remote server

Hi folks, Is it possible to create 10GB file in linux and transferring the file to other remote server? Regards, J (3 Replies)
Discussion started by: scriptscript
3 Replies

6. UNIX for Dummies Questions & Answers

Transferring a file from one UNIX server to another

Hi, Is there a way to transfer a file from one unix server from another without entering the login credentials. I know scp and other commands but it prompts the username/password. However in my script i have a file, who i need to send to another unix server where the content of that file will... (4 Replies)
Discussion started by: gopajitmalakar
4 Replies

7. UNIX for Dummies Questions & Answers

Zip a file with .zip extension.

Hi, I need to zip a .dat file with .zip extension. I tried using the "zip" command. But shell says. "ksh: zip: not found" Currently I am using gunzip to zip and changing the extension ".gz" to ".zip" as follows. mv $file `echo $file | sed 's/\(.*\.\)gz/\1zip/'` But when I tried... (1 Reply)
Discussion started by: aeroticman
1 Replies

8. AIX

ZIP multiple files and also specify size of zip file

I have to zip many pdf files and the size of zip file must not exceed 200 MB. When size is more than 200 MB then multiple zip files needs to be created. How we can achieve this in UNIX? I have tried ZIP utility but it takes a lot of time when we add individual pdfs by looping through a... (1 Reply)
Discussion started by: tom007
1 Replies

9. Shell Programming and Scripting

Transferring file from Windows server...

Hi, I want to transfer html files from windows server to unix server. Those files also have to be assigned proper permissions. Can u people suggest any ideas for this scenario? Regards, http://www.unix.com/images/smilies/thumb.gifSanthosh (1 Reply)
Discussion started by: Santhosh_Ind
1 Replies

10. UNIX for Dummies Questions & Answers

unzip .zip file and list the files included in the .zip archive

Hello, I am trying to return the name of the resulting file from a .zip archive file using unix unzip command. unzip c07212007.cef7081.zip Archive: c07212007.cef7081.zip SecureZIP for z/OS by PKWARE inflating: CEP/CEM7080/PPVBILL/PASS/G0063V00 I used the following command to unzip in... (5 Replies)
Discussion started by: oracledev
5 Replies
Login or Register to Ask a Question