Follow

How to FTP data to CEI

How can I FTP files to and from CEI? 

EXAMPLE SESSION:

ls load.cmd 
load.cmd 

ftp ftp.ensight.com 
Connected to ftp.ensight.com (208.1.63.16). 
220 www.ensight.com FTP server (Version wu-2.6.2-5) ready. 

Name (ftp.ensight.com:krogh): anonymous 
331 Guest login ok, send your complete e-mail address as password. 
Password:(your email address) 
230 Guest login ok, access restrictions apply. 
Remote system type is UNIX. 
Using binary mode to transfer files. 

ftp> cd incoming 
250 CWD command successful. 

ftp> bin 
200 Type set to I. 

ftp> passive 
Passive mode off. 

ftp> passive 
Passive mode on. 

ftp> put load.cmd 
local: load.cmd remote: load.cmd 
227 Entering Passive Mode (208,1,63,16,82,231) 
150 Opening BINARY mode data connection for load.cmd. 
226 Transfer complete. 
1152 bytes sent in 0.0175 secs (64 Kbytes/sec) 

ftp> quit 
221-You have transferred 1152 bytes in 1 files. 
221-Total traffic for this session was 1649 bytes in 1 transfers. 
221-Thank you for using the FTP service on www.ensight.com
221 Goodbye.


ERRORS:
If you don't set mode to passive, or if you don't cd incoming' then you'll get the following error when you 
try to 'put myfile'.

553 Could not create file

DETAILS:
The hostname of our FTP server is ftp.ensight.com
When prompted, login with the username 
'anonymous' (without the quotes) and your email address for the password. 
After logging in, type 'cd incoming' to place the files in the 
proper subdirectory.  Next type 'put myfile' to send 'myfile' to our server. 

If you don't cd to the proper directory you will get an error.

If the files are binary, be sure to send the files in binary mode. The 
FTP command 'bin' should toggle this on. 

Our FTP server only supports passive transfers. If you are not 
set to 'passive' you may get an 
error when you attempt to send (typically an 'Illegal PORT Command' error) 
or you may not even be able to login to our server. 
If you have these problems, try beginning your session as follows: 

ftp 

>> passive 
>> open ftp.ensight.com 

Windows built-in command line FTP client does not support passive mode.  Transfers will fail as a result.  You must use another FTP client that supports passive transfer.  We're not aware of any other clients that don't support passive mode.  WinSCP is a freely available FTP client for Windows that works with our FTP server.  These are the settings for WinSCP:

  • File Protocol: FTP
  • Encryption: No encryption
  • Host name: ftp.ensight.com
  • Port: 21
  • User name: anonymous
  • Password: <your email address>
  • Account: <blank>


Once files are on our server, they can not be seen, changed, renamed or 
deleted for security reasons. If your file tranfer fails during the 
send, you'll need to send your file the second time with a new name as 
you cannot overwrite the previous file. 

Consider zipping up or tarring and gzipping up associated files into 
a single archive and sending the archive. It's faster and easier to 
keep everything together. 

Don't forget to send email to support@ensight.com once the files are there. 


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments