If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > FTP Problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-12-05, 11:20
rkobs rkobs is offline
Registered User
 
Join Date: Jun 2004
Posts: 57
FTP Problem

This is a longshot but I'm working on data load which includes an FTP step that copies 25 files from a Unix box to a win 2000 box. THey're text files with a ^ delimiter.

If I have to move files back to the Unix box from the Win 2000 box (like when the load crashes) and I reload, i somehow get a small box character fed into the end of each record. My hunch -- and perhaps totally incorrect -- is that this has something to do with a Unix to win FTP.

My second hunch that the problem/solution is something obvious -- i just don't know enough about FTP to know what it is.

Any help or suggestions appreciated.

Ray
Reply With Quote
  #2 (permalink)  
Old 01-12-05, 11:42
vgersh99 vgersh99 is offline
Registered User
 
Join Date: Apr 2004
Location: Boston, MA
Posts: 325
make sure you transfer in 'ascii' mode. Say 'ascii' while in 'ftp'
Reply With Quote
  #3 (permalink)  
Old 01-12-05, 11:49
rkobs rkobs is offline
Registered User
 
Join Date: Jun 2004
Posts: 57
Quote:
Originally Posted by vgersh99
make sure you transfer in 'ascii' mode. Say 'ascii' while in 'ftp'

Thanks, will try.
Reply With Quote
  #4 (permalink)  
Old 01-12-05, 11:52
vgersh99 vgersh99 is offline
Registered User
 
Join Date: Apr 2004
Location: Boston, MA
Posts: 325
Quote:
Originally Posted by rkobs
Thanks, will try.
correction:
upload TO UNIX in 'ascii'
download FROM UNIX in 'bin'
__________________
vlad
+-----------------------+
| #include <disclaimer.h> |
+-----------------------+
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On