SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
XinYingPhee
Calcite | Level 5

I'm using eft to transfer a pretty large zip file and it is getting disconnected.

zip file is about 3GB.
Is there a way to set no timeout

filename eft sftp "/Standing Order/Dropoff/&job..zip" host='xx@xxxx' DEBUG;

data _null_;
infile "/sasdata/Production/enterprise/data/data_dump/monthly/&job..zip" recfm=n;
input x $char1. @@;
file eft recfm=s;
put x $char1. @@;
run;


This gateway for AUTHORISED
use only!

Connected .

NOTE: sftp> cd "/Standing Order/Dropoff"

NOTE: The file EFTSAS is:
Filename=/Standing Order/Dropoff/datadump.zip

NOTE: Received disconnect from 10.101.1.21 port 22:11: Manually close SSH session.
Disconnected from 10.101.1.21 port 22
sftp>

2 REPLIES 2
SASKiwi
PROC Star

Port timeouts are often set by server firewall rules. Check with your IT network folks to see if there are rules for port 22.

 

Also try the WAIT_MILLISECONDS option in case the timeout is performance-related.

Sajid01
Meteorite | Level 14

For commercial managed file transfer applications like eft, the best apporach would be to approach the vendor for assistance.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 875 views
  • 0 likes
  • 3 in conversation