Trying to transfer b/w Unix and Windows


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Trying to transfer b/w Unix and Windows
# 1  
Old 09-19-2003
Trying to transfer b/w Unix and Windows

Hello everyone,

I am trying to copy a large file from our SCO server to Win2000, burn it and then copy to our new server. Here's my problem. The file I am transfering is about 90 meg. When I use ftp from the windows machine and use the get command, it transfers the file but when I look at the properties of the file on the 2000 machine it is only 450 K. I tried to use a tftp server and that seems to work but it times out after 33 meg. Does anyone know if I can get around the timeouts? Or is the ftp file smaller because is is ascii - if that is true, can I still put it back together on our new machine?

Thanks in advance

jeff
# 2  
Old 09-19-2003
90 megs is not that much. The smallest size where I would expect you to have problems is 2 GB. Maybe you're just misreading the file info from one of the OS's?

Try this experiment to see if there is really a problem: copy the file Win2000, on Win2000 rename the file, then copy it back. Then on SCO,
do:
wc old new
diff old new | wc -l

That should tell you if there really is a problem or not, thus answering your last question.
# 3  
Old 09-19-2003
yup

Yes when I copy it back it is the same smaller size that is on was transferred to the 2000 machine. I just do a long listing (ls -l) to check the size. So the problem is somewhere in the transfer. . . probably my error...

Thanks

jeff
# 4  
Old 09-19-2003
Now compare the files to see how they differ. Is the smaller one just the beginning of the real file? Or is it garbled?

Also can you copy other large files from other systems to the Windows system?
# 5  
Old 09-23-2003
sorry about the delayed response...

3 day weekend...

Anyway, both reports are garbled, I was just asked to move them and I'm not sure what they are... one is just shorter than the other. If I cat the file the original runs for much longer than the copy.
The results of the word counts were:

55578 3292512 90746831
259 1496 62520

I also set up tftp server on my 2000 machine and tried to send it that way from the UNIX box. That seemed to work until I got to about 33 meg worth of the file and then timed out. Any ideas???

Thanks again,

Jeff
# 6  
Old 09-23-2003
In your first post you said that had an ascii file and got 450k transferred. But wc only sees 62520 bytes. One of your systems is broken. I would try to transfer files to and from a 3rd box to see which one it is.

62520 is under the 16 bit limit. Could your windows 2k ftp client be running in 16 bit mode?
# 7  
Old 09-23-2003
THANKS!!!

I tried the transfer from another 2000 machine and it worked. The file sizes are slightly different and the word counts as well. Here's the verdict...

555778 3292512 90746831
555778 3290131 90685972

Does this sound right?

Any ideas what might be the problem with the first 2000 machine? I just used ftp from a command line interface.

Thanks again,

Jeff
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Cygwin script to transfer file from windows to UNIX

Hi, Objective is to transfer files from windows server to Unix server using cygwin. I have installed cygwin, and I manually execute commands and transfer files from windows to unix using sftp. These are steps I execute 1) Run cmd 2) Run cygwin 3) At prompt type sftp user1@uniserver 4) lcd... (2 Replies)
Discussion started by: wahi80
2 Replies

2. UNIX and Linux Applications

UNIX to windows XP file transfer

I am using Unix workstation to transfer a .txt file to my other Windows XP desktop using network. can u suggest some idea how to do. i am new to unix . (4 Replies)
Discussion started by: senthil17
4 Replies

3. Shell Programming and Scripting

file transfer from windows to unix using ftp

Hi all, I have a file in windows, example a.txt **** aaa bbb ccc <empty line> when i transfer this file to unix using ftp, and viewed the file # vi a.txt aaa bbb ccc # I dont get the empty line which i specified in that file in windows. Please help me, which in unix... (5 Replies)
Discussion started by: Nandagopal
5 Replies

4. UNIX for Advanced & Expert Users

How to transfer files from Unix to Windows.

Hi There is a requirement for me to transfer files from Unix to windows in an automation process of unix. Please let me know is it posibble to shell scripting this? Could you help me in scripting it? Regards Venugopal (2 Replies)
Discussion started by: venu_eie
2 Replies

5. UNIX for Dummies Questions & Answers

transfer file from unix to windows on same PC

Hi, Do any one know the shell script code to transfer a file from unix to windows on same PC (4 Replies)
Discussion started by: monika
4 Replies

6. Windows & DOS: Issues & Discussions

File transfer between unix and windows viceversa

Hi, My requirement is to connect to a windows system from unix fileserver and get some files then process them using shell scripting and database related stuff.it will generate some output.i have to copy again some files back to windows system at some directory. How do i connect to windows from... (3 Replies)
Discussion started by: mohanpadamata
3 Replies

7. HP-UX

File transfer between unix and windows server

hi all, I have two server(Unix tru64 and windows 2003 server). these server's live running now. The win2003server doesn't have ftp server. Also Unix server doesn't have samba. if both server's have ftp server that no problem. How to transfer file from windows server to unix by every... (2 Replies)
Discussion started by: Tlg13team
2 Replies

8. IP Networking

How to Transfer a whole Directory from unix to windows using FTP?

Hi I can transfer a single file and multiple file from unix to widows using get and mget command.But i dont know How to transfer a whole directory from unix to windows using command. pls help me Ramkumar (1 Reply)
Discussion started by: ramkumarm83
1 Replies

9. UNIX for Dummies Questions & Answers

Transfer files from Unix server to Windows using FTP

Dear Friend, I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes. Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies

10. Shell Programming and Scripting

transfer of files via ftp from windows to unix

I am currently looking to write a script to transfer files from a windows NT server to a unix server any ideas of how to go about this? (1 Reply)
Discussion started by: chambala5
1 Replies
Login or Register to Ask a Question